Taos API Reference
    Preparing search index...

    Interface TerrainEditSessionOptions

    interface TerrainEditSessionOptions {
        system: TerrainSystem;
        heights?: EditableHeights;
        origin: [number, number];
        extent: [number, number];
        splatA?: EditableSplat;
        splatB?: EditableSplat;
        hole?: EditableHoleMask;
        color?: EditableColorMap;
        layerCount?: number;
    }
    Index

    Properties

    heights?: EditableHeights

    Editable heights. Omit for a PAINT-ONLY session (region-streamed terrains sculpt through TerrainRegionEditSession instead) — the height brushes then no-op.

    origin: [number, number]

    World rect the maps cover (min corner + span).

    extent: [number, number]
    splatA?: EditableSplat

    Splat maps (A = layers 0-3, B = 4-7). Omit when not painting.

    splatB?: EditableSplat

    Hole mask. Omit when the terrain has none bound.

    Painted color/tint map. Omit when the terrain has none bound.

    layerCount?: number