편집

다음을 통해 공유


MouseController Constructor

Definition

Constructor.

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

Parameters

trackingState
TrackingState

The controller's tracking state.

controllerHandedness
Handedness

The handedness (ex: right) of the controller.

inputSource
IMixedRealityInputSource

The controller's input source.

interactions
MixedRealityInteractionMapping[]

The set of interactions supported by this controller.

Applies to