Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    interface FlyToOptions {
        durationMs?: number;
        easing?: FlightEasing;
        keepOrientation?: boolean;
    }
    Index
    durationMs?: number

    Flight duration in milliseconds. 0 (or negative) applies the pose immediately. Default 1500.

    easing?: FlightEasing

    Easing curve. Default 'ease-in-out' (smoothstep).

    keepOrientation?: boolean

    Keep the CURRENT viewing direction and up vector; only the focus target, the distance to it, and the projection parameters (fov / zoom / planes) travel to the pose. The pose's own orientation is ignored.

    This is how a flight composes with the orbit turntable: controls.update() runs before the flight's frame callback, so the auto-rotation keeps advancing the direction each frame and the flight simply carries that direction to the new target — the spin never pauses, and landing does not swing the camera to the author's azimuth. The waypoint driver sets it whenever auto-rotate is active; a controller may ask for it explicitly. Meaningless in fly mode (no orbit target) and ignored there in effect.