terrain
4 public commands in this category.
get_terrain
Get terrain noise parameters for an entity
Scope:
scene:read. Token cost: 0.- entityId string (required)
- Entity ID of the terrain
sculpt_terrain
Modify terrain heightmap at a specific position with a brush
Scope:
scene:write. Token cost: 0.- entityId string (required)
- Entity ID of the terrain
- position array (required)
- Sculpt center [x, z] in WORLD space — the engine subtracts the terrain entity's transform to find the brush cell, so an offset terrain sculpts where you clicked, not where it would have been at the origin
- radius number (required)
- Brush radius in world units
- strength number (required)
- Brush strength (positive=raise, negative=lower)
spawn_terrain
Spawn a procedural terrain entity with noise-based heightmap
Scope:
scene:write. Token cost: 0.- amplitude number (optional)
- Noise amplitude (persistence)
- frequency number (optional)
- Base noise frequency
- heightScale number (optional)
- Overall height multiplier
- name string (optional)
- Display name for the terrain entity
- noiseType string (optional)
- Noise algorithm
- octaves integer (optional)
- Number of noise octaves
- position array (optional)
- World position [x, y, z]
- resolution integer (optional)
- Grid vertices per side
- seed integer (optional)
- Random seed
- size number (optional)
- World-space width/depth
update_terrain
Update terrain noise parameters and regenerate the heightmap mesh
Scope:
scene:write. Token cost: 0.- entityId string (required)
- Entity ID of the terrain
- amplitude number (optional)
- frequency number (optional)
- heightScale number (optional)
- noiseType string (optional)
- octaves integer (optional)
- resolution integer (optional)
- seed integer (optional)
- size number (optional)