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

    Function getCameraPivot

    • The active controls' pivot — getControls().target, falling back to getFocusTarget(). Use it to express a pose RELATIVE to the content centre before handing it to placeCameraAt.

      REJECTS when neither is available. The world origin is deliberately NOT a fallback: it is a plausible-looking wrong answer that reads as a real pivot, which is half of how #1930 stayed hidden.

      Parameters

      • page: Page

      Returns Promise<Vec3Like>