Delen via


HandPose Class

Definition

Represents the poses of the user's hand joints in relation to their surroundings.

public ref class HandPose sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HandPose final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HandPose
Public NotInheritable Class HandPose
Inheritance
Object Platform::Object IInspectable HandPose
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

The coordinate system is right-handed, with +y up, +x to the right, and -z forward.

All joints except for tip joints are interior to the hand. Finger joint poses represent the base of the named bone. Joints are oriented with forward (-z) pointing towards the tip of each finger, up (+y) pointing out of the back of the hand or finger, and right (+x) pointing perpendicular to forward and up.

Methods

GetRelativeJoint(HandJointKind, HandJointKind)

Gets the pose of a hand joint, expressed relative to a reference joint.

GetRelativeJoints(HandJointKind[], HandJointKind[], JointPose[])

Gets the pose of multiple hand joints, each expressed relative to its matching reference joint.

TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose)

Gets the pose of a hand joint, expressed in the specified coordinate system.

TryGetJoints(SpatialCoordinateSystem, HandJointKind[], JointPose[])

Gets the pose of multiple hand joints, expressed in the specified coordinate system.

Applies to