WindowsMixedRealityXRSDKMotionController Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WindowsMixedRealityXRSDKMotionController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
Constructor.
public WindowsMixedRealityXRSDKMotionController (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.XRSDK.WindowsMixedReality.WindowsMixedRealityXRSDKMotionController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality.WindowsMixedRealityXRSDKMotionController
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)
Parameters
- trackingState
- TrackingState
- controllerHandedness
- Handedness
- inputSource
- IMixedRealityInputSource
- interactions
- MixedRealityInteractionMapping[]
Applies to
WindowsMixedRealityXRSDKMotionController(TrackingState, Handedness, IMixedRealityInputSourceDefinition, IMixedRealityInputSource, MixedRealityInteractionMapping[])
public WindowsMixedRealityXRSDKMotionController (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.XRSDK.WindowsMixedReality.WindowsMixedRealityXRSDKMotionController : 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.XRSDK.WindowsMixedReality.WindowsMixedRealityXRSDKMotionController
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
- definition
- IMixedRealityInputSourceDefinition
- inputSource
- IMixedRealityInputSource
- interactions
- MixedRealityInteractionMapping[]