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.

C++
public:
 static Microsoft::MixedReality::Toolkit::Input::IMixedRealityHand ^ FindHand(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);

Parameters

handedness
Handedness

Returns

Remarks

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

Applies to

MRTK2 Unity 2018 2.7.0 a ďalšie verzie
Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

FindHand<T>(Handedness)

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

C++
public:
generic <typename T>
 where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHand static T FindHand(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);

Type Parameters

T

Parameters

handedness
Handedness

Returns

T

Applies to

MRTK2 Unity 2018 2.7.0 a ďalšie verzie
Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0