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

    Function loadScene

    • Load a complete scene from a Zarr store.

      This is the main entry point for SceneLoader-backed loading.

      Parameters

      • manager: SceneLoaderManager

        The HOST's loader manager (a LuxarApp's is SceneLoaderManager.getInstance(); every LuxarLayer owns its own). The new loader is registered there and inherits the host wiring the manager carries — profiler, monitor and LOD-registry factories, render wake-up, depth-sort coordinator — so two hosts on one page never share a loader.

      • src: string

        URL or path to the Zarr store

      • Optionalconfig: LoaderConfig

        Optional loader configuration

      • loaderId: string = 'default'

        Optional ID to register the created SceneLoader under (default: 'default')

      Returns Promise<Group<Object3DEventMap>>

      Promise resolving to a THREE.Group containing the scene