Taos API Reference
    Preparing search index...

    Interface SplatmapOptions

    Maps authored splat weight textures onto world space.

    interface SplatmapOptions {
        origin: [number, number];
        extent: [number, number];
        data?: { a: SplatWeightData; b?: SplatWeightData };
    }
    Index

    Properties

    Properties

    origin: [number, number]

    World XZ of the splatmap's (0,0) texel — the rect's min corner.

    extent: [number, number]

    World span (XZ) the splatmap covers.

    data?: { a: SplatWeightData; b?: SplatWeightData }

    Optional CPU copies of the weight maps (a = layers 0-3, b = 4-7). When provided, TerrainSystem.splatWeightsAt works — foliage scattering and the editor's paint tools read (and edit) these.