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