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

    Interface PartitionChildCache

    Per-part per-frame state of a registered partition (parallel to its children).

    interface PartitionChildCache {
        source: PartitionGroupEntry;
        localBoxScratch: BoundingBox;
        worldBoxOptions: WorldBoxOptions;
        footprintBox: Box3;
        footprintMatrixWorld: number[];
        footprintDirty: boolean;
        inFrustum: boolean;
        inSlice: boolean;
        released: Map<string, Object3D<Object3DEventMap> | null> | null;
        lazy: LazyPartState | null;
    }
    Index
    localBoxScratch: BoundingBox
    worldBoxOptions: WorldBoxOptions
    footprintBox: Box3
    footprintMatrixWorld: number[]

    World transforms footprintBox was captured at — one flattened 16-element block per object of the part, in children[i].objects order.

    footprintDirty: boolean
    inFrustum: boolean

    Last frustum test (true until the first evaluation).

    inSlice: boolean

    Last committed-slice test as PartitionGate.applyCommittedSlice saw it (true until then) — only that pass-locked path updates it. A true → false transition is the SLICE EXIT that releases the part (#3332). The true start means a LOADED part outside the first committed slice is released at once: the loader defers such parts, so one loaded anyway (no usable view at load ⇒ nothing deferred) holds data that cannot draw.

    released: Map<string, Object3D<Object3DEventMap> | null> | null

    The leaves that gave a POOL buffer back on a slice exit (LODGroupRegistryDeps.releasePartitionPart) and have not landed a commit since, by loader path → its scene object (null: not found under the part). While any of them could draw, the part stays hidden even in slice and frustum: that leaf may still reference a pool buffer another node has adopted. Each leaf's own successful commit removes it (PartitionGate.settleReleasedPartitionLeaf); a later exit merges newly released leaves in; null once none is left.

    lazy: LazyPartState | null

    Deferred part state (B4): see PartitionGroupChild.activate.