Editar

Partilhar via


GenericJoystickController Constructors

Definition

Overloads

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

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

public GenericJoystickController (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);
new Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to

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

public GenericJoystickController (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);
new Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSourceDefinition * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, definition As IMixedRealityInputSourceDefinition, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to