Taos API Reference
    Preparing search index...

    Class TerrainGrassFeature

    Grows the grass detail layer over the authored terrain: a deterministic scatterer seats blades on the CPU height mirror with density from the masked splat weights, and the engine's GrassPass draws + shadow-casts them. Inert until the Terrain enables grass and its height data is loaded.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: "TerrainGrassFeature" = 'TerrainGrassFeature'

    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