API reference
API reference
Select your platform
No SDKs available
No versions available

Hand Class

Fields

Handedness Handedness[Get]
ITrackingToWorldTransformer TrackingToWorldTransformer[Get]
HandSkeleton HandSkeleton[Get]
bool IsConnected[Get]
bool IsHighConfidence[Get]
bool IsDominantHand[Get]
float Scale[Get]
bool IsPointerPoseValid[Get]
bool IsTrackedDataValid[Get]

Events

Action WhenHandUpdated

Protected Functions

override void Apply
( HandDataAsset data )

Member Functions

override void MarkInputDataRequiresUpdate ( )
bool GetFingerIsPinching
( HandFinger finger )
bool GetIndexFingerIsPinching ( )
Attempts to calculate the pose that can be used as a root for raycasting, in world space Returns false if there is no valid tracking data.
Attempts to calculate the pose of the requested hand joint, in world space.
Returns false if the skeleton is not yet initialized, or there is no valid tracking data.
Attempts to calculate the pose of the requested hand joint, in local space.
Returns false if the skeleton is not yet initialized, or there is no valid tracking data.
Returns an array containing the local pose of each joint.
The poses do not have the root pose applied, nor the hand scale. It is in the same coordinate system as the hand skeleton.
Parameters
localJointPoses
The array with the local joint poses. It will be empty if no poses where found
Returns
True if the poses collection was correctly populated. False otherwise.
Attempts to calculate the pose of the requested hand joint relative to the wrist.
Returns false if the skeleton is not yet initialized, or there is no valid tracking data.
Returns an array containing the pose of each joint relative to the wrist.
The poses do not have the root pose applied, nor the hand scale. It is in the same coordinate system as the hand skeleton.
Parameters
jointPosesFromWrist
The array with the joint poses from the wrist. It will be empty if no poses where found
Returns
True if the poses collection was correctly populated. False otherwise.
Obtains palm pose in local space.
Parameters
pose
The pose to populate
Returns
True if pose was obtained.
bool GetFingerIsHighConfidence
( HandFinger finger )
float GetFingerPinchStrength
( HandFinger finger )
Gets the root pose of the wrist, in world space.
Will return true if a pose was available; false otherwise. Confidence level of the pose is exposed via IsHighConfidence.
void InjectAllHand
( UpdateModeFlags updateMode,
IDataSource updateAfter,
DataModifier< HandDataAsset > modifyDataFromSource,
bool applyModifier )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon