terrainmod
Since 0.6
An op the entity contributes to a terrain, applied after the terrain file's own stack and moving with the entity (a pad flattened under a building).
Needs a terrain entity in the scene (terrainmod-no-terrain).
Use it in a scene entity's components list as { "type": "terrainmod", … }. The contract writes the fields flat and refuses unknown keys.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
terrain | string | no | The terrain entity; the only one when absent. | ||
priority | integer | no | 0 | Stack position among entity ops; after the file's stack. Default 0. | |
op | TerrainOp | yes | Positions in the op are in this entity's local frame. |