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

    What a live capture needs from the running app — attached by the init pipeline once those pieces exist. Without it, scene falls back to the room.

    interface CaptureRuntime {
        sceneRoot: () => Object3D<Object3DEventMap> | null;
        pushCaptureCameraParams: (resolution: number) => void;
        restoreCameraParams: () => void;
        isSettled: () => boolean;
        baseUrl: () => string | undefined;
    }
    Index
    sceneRoot: () => Object3D<Object3DEventMap> | null

    The scene root (LuxarScene), for probe resolution and physical-mesh hiding.

    pushCaptureCameraParams: (resolution: number) => void

    Push the cube camera's params to the material manager (fov 90°, square buffer).

    restoreCameraParams: () => void

    Restore the main camera's params (the ordinary camera-materials push).

    isSettled: () => boolean

    Whether the loader has settled (no update sweep, load pass or LOD load in flight).

    baseUrl: () => string | undefined

    Base URL of the store, for a store-relative hdri url.