HandJointUtils.TryGetJointPose Method

Definition

Overloads

TryGetJointPose(TrackedHandJoint, Handedness, MixedRealityPose)

Tries to get the pose of the requested joint for the first controller with the specified handedness.

TryGetJointPose<T>(TrackedHandJoint, Handedness, MixedRealityPose)

Try to find the first matching hand controller of the given type and return the pose of the requested joint for that hand.

TryGetJointPose(TrackedHandJoint, Handedness, MixedRealityPose)

Tries to get the pose of the requested joint for the first controller with the specified handedness.

public:
 static bool TryGetJointPose(Microsoft::MixedReality::Toolkit::Utilities::TrackedHandJoint joint, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, [Runtime::InteropServices::Out] Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose % pose);
public static bool TryGetJointPose (Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, out Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose pose);
static member TryGetJointPose : Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint * Microsoft.MixedReality.Toolkit.Utilities.Handedness * MixedRealityPose -> bool
Public Shared Function TryGetJointPose (joint As TrackedHandJoint, handedness As Handedness, ByRef pose As MixedRealityPose) As Boolean

Parameters

joint
TrackedHandJoint

The requested joint

handedness
Handedness

The specific hand of interest. This should be either Handedness.Left or Handedness.Right

pose
MixedRealityPose

The output pose data

Returns

Boolean

Applies to

TryGetJointPose<T>(TrackedHandJoint, Handedness, MixedRealityPose)

Try to find the first matching hand controller of the given type and return the pose of the requested joint for that hand.

public:
generic <typename T>
 where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHand static bool TryGetJointPose(Microsoft::MixedReality::Toolkit::Utilities::TrackedHandJoint joint, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, [Runtime::InteropServices::Out] Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose % pose);
public static bool TryGetJointPose<T> (Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, out Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose pose) where T : class, Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand;
static member TryGetJointPose : Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint * Microsoft.MixedReality.Toolkit.Utilities.Handedness * MixedRealityPose -> bool (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand)
Public Shared Function TryGetJointPose(Of T As {Class, IMixedRealityHand}) (joint As TrackedHandJoint, handedness As Handedness, ByRef pose As MixedRealityPose) As Boolean

Type Parameters

T

Parameters

handedness
Handedness

Returns

Boolean

Applies to