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

    Function updateSceneForDimensions

    • Update the scene when navigating through dimensions.

      This is a convenience function for dimension navigation that automatically converts dimension state to view state.

      Parameters

      • dims: SimpleDims

        Current dimension state

      • scene: Group

        THREE.Group containing the scene

      • OptionalloaderId: string

        Optional loader ID, defaults to default loader

      • Optionalopts: { frameBudgetMs?: number; ladderDepth?: number | "auto" }
        • OptionalframeBudgetMs?: number

          Per-tick LOD time budget during dimension-animation playback (see ViewState.frameBudgetMs). A per-pass directive — attached to this one update call, never persisted.

        • OptionalladderDepth?: number | "auto"

          Pinned playback ladder depth (see ViewState.ladderDepth). Per-pass, like frameBudgetMs.

      Returns Promise<void>