Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface MeshArrayHandles

    Metadata-only handles for the arrays a mesh node declares.

    Every entry is a zarr Array opened with kind: 'array', which fetches .zarray + .zattrs and nothing else. Optional entries are undefined when the node's presence flags say the array is absent.

    The label/image-label/key CSR arrays are included even though this loader never fetches them: picking resolves a vertex ordinal that indexes the CSR directly, and the shared lazy loaders/picking/label-loader.ts reads the arrays on first hover. They are still part of the node's declared footprint, so budgeting them keeps the ceiling honest about what the node ultimately pulls.

    interface MeshArrayHandles {
        vertices: Array<DataType, Readable>;
        faces: Array<DataType, Readable>;
        normals?: Array<DataType, Readable>;
        colors?: Array<DataType, Readable>;
        scalars?: Array<DataType, Readable>;
        uvs?: Array<DataType, Readable>;
        texture?: Array<DataType, Readable>;
        labelOffsets?: Array<DataType, Readable>;
        labelBytes?: Array<DataType, Readable>;
        imageLabelOffsets?: Array<DataType, Readable>;
        imageLabelBytes?: Array<DataType, Readable>;
        keyOffsets?: Array<DataType, Readable>;
        keyBytes?: Array<DataType, Readable>;
    }
    Index
    vertices: Array<DataType, Readable>
    faces: Array<DataType, Readable>
    normals?: Array<DataType, Readable>
    colors?: Array<DataType, Readable>
    scalars?: Array<DataType, Readable>
    uvs?: Array<DataType, Readable>
    texture?: Array<DataType, Readable>

    The texture payload. The one handle here that is NOT per-vertex, which is why it is excluded from every nVertices-shaped cross-check below and charged against the budget by its own declared dimensions instead.

    labelOffsets?: Array<DataType, Readable>
    labelBytes?: Array<DataType, Readable>
    imageLabelOffsets?: Array<DataType, Readable>
    imageLabelBytes?: Array<DataType, Readable>
    keyOffsets?: Array<DataType, Readable>
    keyBytes?: Array<DataType, Readable>