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

    Keyboard arrow-key pan attachment for LuxarOrbitControls. Extracted from luxar-orbit-controls.ts so the orchestrator stays focused on its sequenced update step and the lifecycle of its bound handlers.

    attachKeyboardPan registers the listener and returns a disposer the caller can keep and invoke at dispose-time.

    interface OrbitKeyboardCtx {
        enabled: () => boolean;
        enablePan: () => boolean;
        keyPanSpeed: () => number;
        pan: (deltaX: number, deltaY: number) => void;
    }
    Index
    enabled: () => boolean
    enablePan: () => boolean
    keyPanSpeed: () => number

    Read as a getter so callers see live mutations to the field.

    pan: (deltaX: number, deltaY: number) => void