Class HandJointUtils
Inheritance
HandJointUtils
Assembly: cs.temp.dll.dll
public static class HandJointUtils
Methods
Find the first detected hand controller with matching handedness.
Declaration
public static IMixedRealityHand FindHand(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Returns
Find the first detected hand controller of the given type with matching handedness.
Declaration
public static T FindHand<T>(Handedness handedness)
where T : class, IMixedRealityHand
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Returns
Type Parameters
Tries to get the pose of the requested joint for the first controller with the specified handedness.
Declaration
public static bool TryGetJointPose(TrackedHandJoint joint, Handedness handedness, out MixedRealityPose pose)
Parameters
Type |
Name |
Description |
TrackedHandJoint |
joint |
The requested joint
|
Handedness |
handedness |
The specific hand of interest. This should be either Handedness.Left or Handedness.Right
|
MixedRealityPose |
pose |
The output pose data
|
Returns
Try to find the first matching hand controller of the given type and return the pose of the requested joint for that hand.
Declaration
public static bool TryGetJointPose<T>(TrackedHandJoint joint, Handedness handedness, out MixedRealityPose pose)
where T : class, IMixedRealityHand
Parameters
Type |
Name |
Description |
TrackedHandJoint |
joint |
|
Handedness |
handedness |
|
MixedRealityPose |
pose |
|
Returns
Type Parameters