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 properties |
|
|---|---|
ArDevice.State |
the state of the currently tracked device at the |
Geospatial.State? |
the state of the geospatial service at the |
Depth.State? |
the state of the left depth map at the |
Eye.State? |
the state of the user's left eye at the |
Hand.State? |
the state of the left hand at the |
RenderViewpoint.State? |
the state of the left viewpoint used for rendering at the |
Depth.State? |
the state of the mono depth map at the |
RenderViewpoint.State? |
the state of the mono viewpoint used for rendering at the |
Depth.State? |
the state of the right depth map at the |
Eye.State? |
the state of the user's right eye at the |
Hand.State? |
the state of the right hand at the |
RenderViewpoint.State? |
the state of the right viewpoint used for rendering at the |
ComparableTimeMark |
the time at which the state was computed |
Collection<Trackable.State> |
the state of the trackables at the |
Face.State? |
the state of the user's face at the |
Public functions
Public properties
arDeviceState
val arDeviceState: ArDevice.State
the state of the currently tracked device at the timeMark
geospatialState
val geospatialState: Geospatial.State?
the state of the geospatial service at the timeMark, or null when not supported by the current platform
leftDepthState
val leftDepthState: Depth.State?
the state of the left depth map at the timeMark, or null when not supported by the current platform
leftEyeState
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
val leftHandState: Hand.State?
the state of the left hand at the timeMark, or null when not supported by the current platform
leftRenderViewpointState
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
val monoDepthState: Depth.State?
the state of the mono depth map at the timeMark, or null when not supported by the current platform
monoRenderViewpointState
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
val rightDepthState: Depth.State?
the state of the right depth map at the timeMark, or null when not supported by the current platform
rightEyeState
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
val rightHandState: Hand.State?
the state of the right hand at the timeMark, or null when not supported by the current platform
rightRenderViewpointState
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
val timeMark: ComparableTimeMark
the time at which the state was computed
trackableStates
val trackableStates: Collection<Trackable.State>
the state of the trackables at the timeMark that are currently being tracked
userFaceState
val userFaceState: Face.State?
the state of the user's face at the timeMark, or null when not supported by the current platform