HandPose.TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose) HandPose.TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose) HandPose.TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose) HandPose.TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose) HandPose.TryGetJoint(SpatialCoordinateSystem, HandJointKind, JointPose) Method

Definition

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

public : Platform::Boolean TryGetJoint(SpatialCoordinateSystem coordinateSystem, HandJointKind joint, JointPose jointPose)
bool TryGetJoint(SpatialCoordinateSystem coordinateSystem, HandJointKind joint, JointPose const& jointPose) const;
public bool TryGetJoint(SpatialCoordinateSystem coordinateSystem, HandJointKind joint, JointPose jointPose)
Public Function TryGetJoint(coordinateSystem As SpatialCoordinateSystem, joint As HandJointKind, jointPose As JointPose) As bool
var bool = handPose.tryGetJoint(coordinateSystem, joint, jointPose);

Parameters

coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the joint pose.

joint
HandJointKind HandJointKind HandJointKind

The hand joint kind to locate.

jointPose
JointPose JointPose JointPose

The pose to fill for the specified joint.

Returns

bool bool bool

True if the hand can be located within the specified coordinate system; otherwise, false.

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.

This method will return false if the specified coordinate system cannot be located at the moment.