BaseHand Constructors

Definition

Overloads

BaseHand(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])

Constructor.

C#
protected BaseHand (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource = default, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] interactions = default);

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to

MRTK2 Unity 2018 2.5.4 och andra versioner
Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4

BaseHand(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[], IMixedRealityInputSourceDefinition)

Constructor.

C#
protected BaseHand (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource = default, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] interactions = default, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSourceDefinition definition = default);

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to

MRTK2 Unity 2018 2.7.0 och andra versioner
Produkt Versioner
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0