Show / Hide Table of Contents

    Class HandJointUtils

    Inheritance
    Object
    HandJointUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public static class HandJointUtils

    Methods

    FindHand(Handedness)

    Find the first detected hand controller with matching handedness.

    Declaration
    public static IMixedRealityHand FindHand(Handedness handedness)
    Parameters
    Type Name Description
    Handedness handedness
    Returns
    Type Description
    IMixedRealityHand
    Remarks

    The given handedness should be either Handedness.Left or Handedness.Right.

    FindHand<T>(Handedness)

    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 Description
    T
    Type Parameters
    Name Description
    T

    TryGetJointPose(TrackedHandJoint, Handedness, out MixedRealityPose)

    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
    Type Description
    Boolean

    TryGetJointPose<T>(TrackedHandJoint, Handedness, out MixedRealityPose)

    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 Description
    Boolean
    Type Parameters
    Name Description
    T
    Back to top Generated by DocFX