Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Camera pose snapshot from the debug surface.

      Controls apply input to the camera inside their per-frame update(), so a pose read straight after a gesture can predate the frame that applies it — under software GL with two workers a frame can take a second or more. Two animation frames are awaited first, so the read follows an actual update.

      Parameters

      • page: Page

      Returns Promise<
          {
              position: [number, number, number];
              quaternion: [number, number, number, number];
              target: [number, number, number];
          },
      >