RenderViewpoint.State


public final class RenderViewpoint.State


Class that contains the current state of the render viewpoint.

Summary

Public methods

boolean
equals(Object other)
final @NonNull FieldOfView

Contains the camera's field of view in radians.

final @NonNull Pose

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

final @NonNull Pose

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

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

getFieldOfView

Added in 1.0.0-alpha06
public final @NonNull FieldOfView getFieldOfView()

Contains the camera's field of view in radians.

getLocalPose

Added in 1.0.0-alpha06
public final @NonNull Pose getLocalPose()

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

getPose

Added in 1.0.0-alpha06
public final @NonNull Pose getPose()

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.

hashCode

public int hashCode()

toString

public @NonNull String toString()