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

    Interface LineNodeLoad

    Per-node size information for the auto policy, gathered where the material is BUILT (createLinesNode). Fields come from the authored .zattrs — n_segments is the stable authored total (the streaming path's processed.segmentCount is 0 at build time and only grows afterwards, so it must never be the policy input), max_width / bboxDiagonal feed the width factor. All optional: a caller with no size information (harnesses, the debug HUD) gets the plain session-wide resolution.

    interface LineNodeLoad {
        nSegments?: number;
        maxWidth?: number;
        bboxDiagonal?: number;
    }
    Index
    nSegments?: number

    Authored segment total (attrs.n_segments).

    maxWidth?: number

    Authored maximum line width in world units (attrs.max_width).

    bboxDiagonal?: number

    Diagonal of the node's own bounding box, world units.