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

the camera's FieldOfView in radians

Pose

a local offset from the device's central tracking point

Pose

the render viewpoint's pose in perception space

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-alpha12
val fieldOfViewFieldOfView

the camera's FieldOfView in radians

localPose

Added in 1.0.0-alpha12
val localPosePose

a local offset from the device's central tracking point

pose

Added in 1.0.0-alpha12
val posePose

the render viewpoint's pose in perception space

This value is the underlying ArDevice's pose in the global coordinate system of the Session, plus the localPose offset. Its update behavior is determined by the current DeviceTrackingMode:

  • 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.