Modifica

Condividi tramite


HandJointUtils.FindHand Method

Definition

Overloads

FindHand(Handedness)

Find the first detected hand controller with matching handedness.

FindHand<T>(Handedness)

Find the first detected hand controller of the given type with matching handedness.

FindHand(Handedness)

Find the first detected hand controller with matching handedness.

public:
 static Microsoft::MixedReality::Toolkit::Input::IMixedRealityHand ^ FindHand(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);
public static Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand FindHand (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness);
static member FindHand : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand
Public Shared Function FindHand (handedness As Handedness) As IMixedRealityHand

Parameters

handedness
Handedness

Returns

Remarks

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

Applies to

FindHand<T>(Handedness)

Find the first detected hand controller of the given type with matching handedness.

public:
generic <typename T>
 where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHand static T FindHand(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);
public static T FindHand<T> (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness) where T : class, Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand;
static member FindHand : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> 'T (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityHand)
Public Shared Function FindHand(Of T As {Class, IMixedRealityHand}) (handedness As Handedness) As T

Type Parameters

T

Parameters

handedness
Handedness

Returns

T

Applies to