Taos API Reference
    Preparing search index...

    Class TerrainTreeFeature

    Scatters trees over the authored terrain (jittered spacing grid, density from the masked splat weights, slope-culled) and contributes them as instanced batches to the engine's GeometryFeature (G-Buffer) and ShadowFeature (all cascades) via their additive provider APIs.

    Near trees draw the authored GLB (Terrain.treeMeshRef, per-primitive batches with node transforms folded in) or the built-in procedural pine; far trees always draw the cheap impostor cone.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: "TerrainTreeFeature" = 'TerrainTreeFeature'

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    Methods