PerceptionState


class PerceptionState


State of ARCore for Jetpack XR at a specific point in time.

Can be obtained from CoreState.perceptionState.

Summary

Public functions

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

Public properties

ArDevice.State

the state of the currently tracked device at the timeMark

Geospatial.State?

the state of the geospatial service at the timeMark, or null when not supported by the current platform

Depth.State?

the state of the left depth map at the timeMark, or null when not supported by the current platform

Eye.State?

the state of the user's left eye at the timeMark, or null when not supported by the current platform

Hand.State?

the state of the left hand at the timeMark, or null when not supported by the current platform

RenderViewpoint.State?

the state of the left viewpoint used for rendering at the timeMark, or null when not supported by the current platform

Depth.State?

the state of the mono depth map at the timeMark, or null when not supported by the current platform

RenderViewpoint.State?

the state of the mono viewpoint used for rendering at the timeMark, or null when not supported by the current platform

Depth.State?

the state of the right depth map at the timeMark, or null when not supported by the current platform

Eye.State?

the state of the user's right eye at the timeMark, or null when not supported by the current platform

Hand.State?

the state of the right hand at the timeMark, or null when not supported by the current platform

RenderViewpoint.State?

the state of the right viewpoint used for rendering at the timeMark, or null when not supported by the current platform

ComparableTimeMark

the time at which the state was computed

Collection<Trackable.State>

the state of the trackables at the timeMark that are currently being tracked

Face.State?

the state of the user's face at the timeMark, or null when not supported by the current platform

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

arDeviceState

Added in 1.0.0
val arDeviceState: ArDevice.State

the state of the currently tracked device at the timeMark

geospatialState

Added in 1.0.0
val geospatialState: Geospatial.State?

the state of the geospatial service at the timeMark, or null when not supported by the current platform

leftDepthState

Added in 1.0.0
val leftDepthState: Depth.State?

the state of the left depth map at the timeMark, or null when not supported by the current platform

leftEyeState

Added in 1.0.0
val leftEyeState: Eye.State?

the state of the user's left eye at the timeMark, or null when not supported by the current platform

leftHandState

Added in 1.0.0
val leftHandState: Hand.State?

the state of the left hand at the timeMark, or null when not supported by the current platform

leftRenderViewpointState

Added in 1.0.0
val leftRenderViewpointState: RenderViewpoint.State?

the state of the left viewpoint used for rendering at the timeMark, or null when not supported by the current platform

monoDepthState

Added in 1.0.0
val monoDepthState: Depth.State?

the state of the mono depth map at the timeMark, or null when not supported by the current platform

monoRenderViewpointState

Added in 1.0.0
val monoRenderViewpointState: RenderViewpoint.State?

the state of the mono viewpoint used for rendering at the timeMark, or null when not supported by the current platform

rightDepthState

Added in 1.0.0
val rightDepthState: Depth.State?

the state of the right depth map at the timeMark, or null when not supported by the current platform

rightEyeState

Added in 1.0.0
val rightEyeState: Eye.State?

the state of the user's right eye at the timeMark, or null when not supported by the current platform

rightHandState

Added in 1.0.0
val rightHandState: Hand.State?

the state of the right hand at the timeMark, or null when not supported by the current platform

rightRenderViewpointState

Added in 1.0.0
val rightRenderViewpointState: RenderViewpoint.State?

the state of the right viewpoint used for rendering at the timeMark, or null when not supported by the current platform

timeMark

Added in 1.0.0
val timeMark: ComparableTimeMark

the time at which the state was computed

trackableStates

Added in 1.0.0
val trackableStates: Collection<Trackable.State>

the state of the trackables at the timeMark that are currently being tracked

userFaceState

Added in 1.0.0
val userFaceState: Face.State?

the state of the user's face at the timeMark, or null when not supported by the current platform