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

    Narrow context the retry helpers need from the orchestrator. Keeps the helper independent of SceneLoader internals.

    interface RetryCtx {
        registry: LoaderRegistry;
        lineWorkingSetGate: LineWorkingSetGate;
        lodGroupRegistry?: LODGroupRegistry | null;
        clearArchiveFault?: () => void;
        rootGroup: Group<Object3DEventMap> | null;
        deriveNodeViewState(
            path: string,
            attrs: { extend_to_all?: string[] } | undefined,
            opts: { applyPartialExtendTolerance: boolean },
        ): DerivedViewState;
        processPointsData(path: string, data: LoadedPointsData): StagedPointsCommit;
        commitPointsGeometry(staged: StagedPointsCommit): void;
        processLinesData(
            path: string,
            data: LoadedLinesData,
            viewState: ViewState,
        ): Promise<StagedLinesCommit | null>;
        commitLinesGeometry(staged: StagedLinesCommit): void;
        processGSplatsData(
            path: string,
            data: LoadedGSplatsData,
            viewState: ViewState,
        ): Promise<StagedGSplatsCommit | null>;
        commitGSplatsGeometry(staged: StagedGSplatsCommit): void;
        processMeshData(
            path: string,
            data: LoadedMeshData,
            viewState: ViewState,
            attrs: Pick<
                MeshMetadata,
                "normal_dims"
                | "double_sided"
                | "extend_to_all"
                | "slab_tolerance",
            >,
        ): Promise<StagedMeshCommit>;
        commitMeshGeometry(staged: StagedMeshCommit): void;
    }
    Index
    registry: LoaderRegistry
    lineWorkingSetGate: LineWorkingSetGate

    Same session-scoped line admission used by the eager scene walk.

    lodGroupRegistry?: LODGroupRegistry | null

    Optional LOD-group registry for the lazy-level fallback: lazy substitutive levels never join the loader maps (they're registry-driven — see load-lod-group-node.ts), so when a failed path resolves to no map entry the retry re-kicks the level's ensureLoaded through retryLazyChildByNodePath instead of discarding the failure. Optional so headless/test ctxs without a registry keep working.

    clearArchiveFault?: () => void

    Clear the owning SceneLoader's archive latch before a lazy retry.

    rootGroup: Group<Object3DEventMap> | null
    • Parameters

      • path: string
      • attrs: { extend_to_all?: string[] } | undefined
      • opts: { applyPartialExtendTolerance: boolean }

      Returns DerivedViewState