Editar

Partilhar via


WindowsMixedRealityController Constructors

Definition

Overloads

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

Constructor.

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

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

Constructor.

public WindowsMixedRealityController (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.WindowsMixedReality.Input.WindowsMixedRealityController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityController
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

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

public WindowsMixedRealityController (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.WindowsMixedReality.Input.WindowsMixedRealityController : 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.WindowsMixedReality.Input.WindowsMixedRealityController
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