Hand.State


class Hand.State : Trackable.State


The representation of the current state of a Hand.

The state consists of an array of 182 floats (26 joints * 7 values per joint) which represent the poses of all hand joints. Each hand joint pose consists of 7 float values that represent rotation (x, y, z, w) and translation (x, y, z) as defined in Quaternion and Vector3 respectively. The order of the joints within the array follows the order in which the joints are defined in HandJointType.

Summary

Public functions

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

Public properties

Map<HandJointTypePose>

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

FloatBuffer

the FloatBuffer containing the current state of the hand

open TrackingState

the current TrackingState of 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-alpha12
val handJointsMap<HandJointTypePose>

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

handJointsBuffer

Added in 1.0.0-alpha12
val handJointsBufferFloatBuffer

the FloatBuffer containing the current state of the hand

trackingState

open val trackingStateTrackingState

the current TrackingState of the hand