Hand.State


class Hand.State

The representation of the current state of Hand.

Summary

Public constructors

State(trackingState: TrackingState, handJointsBuffer: ByteBuffer)

Public functions

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

Public properties

Map<HandJointTypePose>

Returns the current pose of each joint in the hand.

ByteBuffer

the ByteBuffer containing the pose of each joint in the hand.

TrackingState

the current TrackingState of the hand.

Public constructors

State

Added in 1.0.0-alpha04
State(trackingState: TrackingState, handJointsBuffer: ByteBuffer)
Parameters
trackingState: TrackingState

the current TrackingState of the hand.

handJointsBuffer: ByteBuffer

the ByteBuffer containing the pose of each joint in the hand.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

handJoints

Added in 1.0.0-alpha04
val handJointsMap<HandJointTypePose>

Returns the current pose of each joint in the hand.

Returns
Map<HandJointTypePose>

a map of HandJointType to Pose representing the current pose of each joint in the hand.

handJointsBuffer

Added in 1.0.0-alpha04
val handJointsBufferByteBuffer

the ByteBuffer containing the pose of each joint in the hand.

trackingState

Added in 1.0.0-alpha04
val trackingStateTrackingState

the current TrackingState of the hand.