Share via


HandPose.GetRelativeJoint(HandJointKind, HandJointKind) Method

Definition

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

JointPose GetRelativeJoint(HandJointKind const& joint, HandJointKind const& referenceJoint);
public JointPose GetRelativeJoint(HandJointKind joint, HandJointKind referenceJoint);
function getRelativeJoint(joint, referenceJoint)
Public Function GetRelativeJoint (joint As HandJointKind, referenceJoint As HandJointKind) As JointPose

Parameters

joint
HandJointKind

The hand joint kind to locate.

referenceJoint
HandJointKind

The reference hand joint kind, relative to which the joint will be located.

Returns

The relative pose of the joint.

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.

Applies to