Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Run one per-frame orbit update: apply auto-rotation, then the damped rotation / roll / pan / zoom deltas, clamp distance (and ortho zoom), write the transform to the camera, and detect movement. With damping enabled each delta is applied by dampingFactor and decayed by the complement; without it each is applied fully and reset.

      Parameters

      • ctx: OrbitUpdateCtx
      • OptionaldeltaTime: number

        Seconds since the last frame (defaults to 1/60), keeping auto-rotation and the auto-dolly frame-rate independent.

      Returns boolean

      true if the camera position, orientation, or orthographic zoom changed this frame (a change event is dispatched in that case) — useful for render-on-demand. Ortho zoom mutates only camera.zoom, so it is tracked separately from the position/orientation compare.