Taos API Reference
    Preparing search index...

    Interface UpsampleSource

    The minimal parent-surface data upsampleQuantizedMesh reads: quantized u/v/height plus the surface triangle indices and the parent's height range (to de-quantize heights into meters before re-quantizing to the child's own range). These are exactly the arrays a TerrainHeightSampler already retains.

    interface UpsampleSource {
        u: Uint16Array;
        v: Uint16Array;
        height: Uint16Array;
        indices: Uint32Array;
        minHeight: number;
        maxHeight: number;
    }
    Index

    Properties

    Quantized horizontal coordinate, [0, QM_MAX] across the parent's [west, east].

    Quantized vertical coordinate, [0, QM_MAX] across the parent's [south, north].

    height: Uint16Array

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

    indices: Uint32Array

    Surface (skirt-free) triangle indices into u/v/height.

    minHeight: number
    maxHeight: number