Taos API Reference
    Preparing search index...

    Interface BakedTerrain

    The result of baking — the three arrays the GPU terrain mesh is built from.

    interface BakedTerrain {
        verts: Float32Array;
        colors: Float32Array;
        indices: Uint32Array;
    }
    Index

    Properties

    Properties

    Interleaved vertex floats (surface vertices then skirt vertices).

    colors: Float32Array

    Per-vertex rgba.

    indices: Uint32Array

    Surface triangle indices followed by the skirt-curtain indices.