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

    A picked element, as much of it as a click needs.

    interface CachedPick {
        mainNode: Object3D;
        nodeName: string;
        hitNodeName: string;
        elementIndex: number;
        label: string | null;
        key: string | null;
        screenX: number;
        screenY: number;
    }
    Index
    mainNode: Object3D

    The hit leaf scene node. Interaction templates are resolved from its userData.attrs, walking up to the nearest ancestor that carries one.

    nodeName: string

    Reported layer path — outermost kind=partition wrapper if any.

    hitNodeName: string

    Scene node elementIndex is local to (the part_<i> leaf under a partition).

    elementIndex: number

    Element index within the hit leaf.

    label: string | null

    The element's label, or null when it has none.

    key: string | null

    The element's machine-readable key, or null when it has none (#1917).

    screenX: number

    Canvas-local cursor position the pick was taken at, in CSS pixels.

    screenY: number