Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Swap orthographic → perspective — the exact inverse of swapToOrthographic. Restores the FOV that was in effect at the last perspective→ortho swap (via getLastPerspectiveFov), and dollies the camera along its view direction so the apparent size at the pivot depth matches the ortho frustum (compensating for ortho zoom). Preserves orientation and up vector from the ortho camera.

      No-op when the current camera is already perspective.

      Parameters

      Returns void