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

    Interface SceneNode

    Node in the scene graph with loading information

    interface SceneNode {
        path: string;
        type: string;
        arrays?: ReadonlySet<string>;
        attrs: {
            transform?: readonly number[];
            nd_transform?: NdTransformMap;
            opacity?: number;
            absorption?: number;
            gamma?: number;
            intensity?: number;
            offset?: number;
            blending_mode?: string;
            join?: string;
            max_radius?: number;
            n_points?: number;
            layer?: boolean;
            visible?: boolean;
            color_data_range?: [number, number];
            amplitude_data_range?: [number, number];
            scalar_data_range?: [number, number];
            colormap?: string;
            has_scalars?: boolean;
            extend_to_all?: string[];
            [key: string]: unknown;
        };
        hasSpatialIndex: boolean;
        children?: SceneNode[];
    }
    Index
    path: string

    Path in the zarr store

    type: string

    Node type (group, points, etc.)

    arrays?: ReadonlySet<string>

    Names of the child ARRAYS the store listing reports directly under this node (positions, colors, …), when the store exposed a consolidated listing that contained arrays. undefined when no such listing was available — loaders then fall back to probing optional arrays with a GET (the historical behaviour). Never an empty set from a listing that showed no arrays at all: a listing that cannot see arrays must not be read as "this node has none".

    attrs: {
        transform?: readonly number[];
        nd_transform?: NdTransformMap;
        opacity?: number;
        absorption?: number;
        gamma?: number;
        intensity?: number;
        offset?: number;
        blending_mode?: string;
        join?: string;
        max_radius?: number;
        n_points?: number;
        layer?: boolean;
        visible?: boolean;
        color_data_range?: [number, number];
        amplitude_data_range?: [number, number];
        scalar_data_range?: [number, number];
        colormap?: string;
        has_scalars?: boolean;
        extend_to_all?: string[];
        [key: string]: unknown;
    }

    Rendering and node attributes from Zarr

    Type Declaration

    • [key: string]: unknown

      Any additional attributes

    • Optionaltransform?: readonly number[]

      Transformation matrix (16 elements for a column-major 4x4 matrix). Typed as readonly number[] because zarr metadata is parsed dynamically; see import('../types/zarr').Matrix4x4 for the narrowed 16-tuple shape.

    • Optionalnd_transform?: NdTransformMap

      Per-dimension transforms for non-displayed dimensions

    • Optionalopacity?: number

      Rendering attributes

    • Optionalabsorption?: number
    • Optionalgamma?: number
    • Optionalintensity?: number
    • Optionaloffset?: number
    • Optionalblending_mode?: string
    • Optionaljoin?: string

      Lines-only join style at degree-2 polyline joints: 'none' | 'miter' (#790).

    • Optionalmax_radius?: number
    • Optionaln_points?: number
    • Optionallayer?: boolean

      Whether this node is exposed as a layer in the Layers panel

    • Optionalvisible?: boolean

      Initial visibility when the scene loads (default: true). Authoring-time only.

    • Optionalcolor_data_range?: [number, number]

      Min/max of color data, computed at encoding time

    • Optionalamplitude_data_range?: [number, number]

      Min/max of amplitude data (GSplats), computed at encoding time

    • Optionalscalar_data_range?: [number, number]

      Min/max of scalar data (Points/Lines), computed at encoding time

    • Optionalcolormap?: string

      Colormap name for scalar-to-color mapping (e.g., "viridis", "green", "custom")

    • Optionalhas_scalars?: boolean

      Whether this node has scalar values for colormap lookup

    • Optionalextend_to_all?: string[]

      Dimensions to extend visibility across (points visible at all values)

    hasSpatialIndex: boolean

    Whether this node has a spatial index

    children?: SceneNode[]

    Child nodes