GenericOpenVRController Constructors

Definition

Overloads

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

C#
public GenericOpenVRController (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.7.0 und andere Versionen
Produkt Versionen
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

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

C#
public GenericOpenVRController (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSourceDefinition definition, 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.7.0 und andere Versionen
Produkt Versionen
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