Hand.State
class Hand.State
The representation of the current state of Hand.
Summary
Public properties |
|
|---|---|
Map<HandJointType, Pose> |
Returns the current pose of each joint in the hand. |
FloatBuffer |
the |
TrackingState |
the current |
Public functions
Public properties
handJoints
val handJoints: Map<HandJointType, Pose>
Returns the current pose of each joint in the hand.
| Returns | |
|---|---|
Map<HandJointType, Pose> |
a map of |
handJointsBuffer
val handJointsBuffer: FloatBuffer
the FloatBuffer containing the current state of the hand. It contains 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.
trackingState
val trackingState: TrackingState
the current TrackingState of the hand.