RenderViewpoint.State


class RenderViewpoint.State


Class that contains the current state of the render viewpoint.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

FieldOfView

Contains the camera's field of view in radians.

Pose

A local offset from the device's central tracking point, used for scenarios like stereo rendering (left/right eye views).

Pose

The render viewpoint's pose in perception space, the global coordinate system of the Session.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

fieldOfView

Added in 1.0.0-alpha06
val fieldOfViewFieldOfView

Contains the camera's field of view in radians.

localPose

Added in 1.0.0-alpha06
val localPosePose

A local offset from the device's central tracking point, used for scenarios like stereo rendering (left/right eye views).

pose

Added in 1.0.0-alpha06
val posePose

The render viewpoint's pose in perception space, the global coordinate system of the Session. This value is the underlying AR Device's pose plus the localPose offset. Its update behavior is determined by Config.deviceTracking:

  • LAST_KNOWN: The device pose is updated each frame with the latest valid tracking data, reflecting physical movement.

  • DISABLED: The device pose is not updated. It remains at the origin (an identity pose) unless this mode is switched from LAST_KNOWN to DISABLED mid-session, which freezes the pose at its last known state.