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

    State and callbacks the wheel handler needs, projected from the LuxarFlyControls orchestrator. Object refs (camera, orientation, velocity, angularVelocity) are mutated in place; dispatch routes the change event back through the orchestrator.

    interface FlyWheelCtx {
        enabled: boolean;
        inertialMode: boolean;
        movementSpeed: number;
        rotationSpeed: number;
        wheelZoomSensitivity: number;
        camera: LuxarCamera;
        orientation: Quaternion;
        velocity: Vector3;
        angularVelocity: Vector3;
        dispatch: (type: "change") => void;
    }
    Index
    enabled: boolean
    inertialMode: boolean
    movementSpeed: number
    rotationSpeed: number
    wheelZoomSensitivity: number

    Global per-machine multiplier on the plain-scroll forward/back impulse (Settings > Input > Zoom Sensitivity; config.controls.wheelZoomSensitivity). Shift+scroll roll is not scaled — it is not a zoom.

    camera: LuxarCamera
    orientation: Quaternion
    velocity: Vector3
    angularVelocity: Vector3
    dispatch: (type: "change") => void