Taos API Reference
    Preparing search index...

    Interface QuantizedMeshTile

    interface QuantizedMeshTile {
        header: QuantizedMeshHeader;
        vertexCount: number;
        u: Uint16Array;
        v: Uint16Array;
        height: Uint16Array;
        indices: Uint32Array;
        edges: QuantizedMeshEdges;
        normals?: Float32Array<ArrayBufferLike>;
        metadata?: QuantizedMeshMetadata;
        waterMask?: QuantizedMeshWaterMask;
        createdByUpsampling?: boolean;
    }
    Index

    Properties

    vertexCount: number

    Quantized horizontal coordinate, [0, 32767] across [west, east].

    Quantized vertical coordinate, [0, 32767] across [south, north].

    height: Uint16Array

    Quantized height, [0, 32767] across [minHeight, maxHeight].

    indices: Uint32Array

    Triangle-list indices (3 per triangle).

    normals?: Float32Array<ArrayBufferLike>

    Oct-decoded per-vertex normals (3 floats each), if the octvertexnormals extension was present; otherwise undefined (caller computes geometric ones).

    Parsed metadata extension (descendant availability), if present.

    Decoded water-mask extension, if present. Either a whole-tile flag (size === 1, all land or all water) or a 256×256 per-texel grid (size === 256). See QuantizedMeshWaterMask.

    createdByUpsampling?: boolean

    Set when this tile was synthesized by upsampling a parent (see upsampleQuantizedMesh) rather than decoded from real data — it carries no new detail, only fills a missing child quadrant to keep the quadtree hole-free at a data-availability boundary.