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
DepthMap?
Hand?

the left hand, or null when not supported by the current platform.

RenderViewpoint?
DepthMap?
RenderViewpoint?
DepthMap?
Hand?

the right hand, or null when not supported by the current platform.

RenderViewpoint?
ComparableTimeMark

the time at which the state was computed.

Collection<Trackable<Trackable.State>>

the trackables that are currently being tracked.

Face?

the user's face, 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

arDevice

Added in 1.0.0-alpha06
val arDeviceArDevice

leftDepthMap

Added in 1.0.0-alpha06
val leftDepthMapDepthMap?

leftHand

Added in 1.0.0-alpha06
val leftHandHand?

the left hand, or null when not supported by the current platform.

leftRenderViewpoint

Added in 1.0.0-alpha06
val leftRenderViewpointRenderViewpoint?

monoDepthMap

Added in 1.0.0-alpha06
val monoDepthMapDepthMap?

monoRenderViewpoint

Added in 1.0.0-alpha06
val monoRenderViewpointRenderViewpoint?

rightDepthMap

Added in 1.0.0-alpha06
val rightDepthMapDepthMap?

rightHand

Added in 1.0.0-alpha06
val rightHandHand?

the right hand, or null when not supported by the current platform.

rightRenderViewpoint

Added in 1.0.0-alpha06
val rightRenderViewpointRenderViewpoint?

timeMark

Added in 1.0.0-alpha06
val timeMarkComparableTimeMark

the time at which the state was computed.

trackables

Added in 1.0.0-alpha06
val trackablesCollection<Trackable<Trackable.State>>

the trackables that are currently being tracked.

userFace

Added in 1.0.0-alpha06
val userFaceFace?

the user's face, or null when not supported by the current platform.