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

IHand Interface

The primary interface through which Hand data is accessed.
Components consuming hand data should prefer to do so through this interface rather than the concrete Hand.

Properties

Handedness Handedness[Get]
bool IsConnected[Get]
The hand is connected and tracked, and the root pose's tracking data is marked as high confidence.
If this is true, then it implies that IsConnected and IsRootPoseValid are also true, so they don't need to be checked in addition to this.
bool IsDominantHand[Get]
float Scale[Get]
Will return true if a pointer pose is available, that can be retrieved via GetPointerPose
True if the hand is currently tracked, thus tracking poses are available for the hand root and finger joints.
This property does not indicate pointing pose validity, which has its own property: IsPointerPoseValid.
Incremented every time the source tracking or state data changes.

Events

Action WhenHandUpdated

Member Functions

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.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon