PerceptionState


class PerceptionState


Represents the state of ARCore for Jetpack XR at an 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

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-alpha14
val arDeviceStateArDevice.State

the state of the currently tracked device at the timeMark

leftDepthState

Added in 1.0.0-alpha14
val leftDepthStateDepth.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-alpha14
val leftEyeStateEye.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-alpha14
val leftHandStateHand.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-alpha14
val leftRenderViewpointStateRenderViewpoint.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-alpha14
val monoDepthStateDepth.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-alpha14
val monoRenderViewpointStateRenderViewpoint.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-alpha14
val rightDepthStateDepth.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-alpha14
val rightEyeStateEye.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-alpha14
val rightHandStateHand.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-alpha14
val rightRenderViewpointStateRenderViewpoint.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-alpha14
val timeMarkComparableTimeMark

the time at which the state was computed

trackableStates

Added in 1.0.0-alpha14
val trackableStatesCollection<Trackable.State>

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

userFaceState

Added in 1.0.0-alpha14
val userFaceStateFace.State?

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