Class MouseController
Manages the mouse using unity input system.
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input.UnityInput
Assembly: cs.temp.dll.dll
Syntax
public class MouseController : BaseController, IMixedRealityController
Constructors
MouseController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
Constructor.
Declaration
public MouseController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type | Name | Description |
---|---|---|
TrackingState | trackingState | The controller's tracking state. |
Handedness | controllerHandedness | The handedness (ex: right) of the controller. |
IMixedRealityInputSource | inputSource | The controller's input source. |
MixedRealityInteractionMapping[] | interactions | The set of interactions supported by this controller. |
MouseController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
Constructor.
Declaration
public MouseController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type | Name | Description |
---|---|---|
TrackingState | trackingState | The controller's tracking state. |
Handedness | controllerHandedness | The handedness (ex: right) of the controller. |
IMixedRealityInputSource | inputSource | The controller's input source. |
MixedRealityInteractionMapping[] | interactions | The set of interactions supported by this controller. |
Properties
DefaultInteractions
Declaration
public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
Property Value
Type | Description |
---|---|
MixedRealityInteractionMapping[] |
Overrides
DefaultInteractions
Declaration
public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
Property Value
Type | Description |
---|---|
MixedRealityInteractionMapping[] |
Overrides
Methods
SetupDefaultInteractions(Handedness)
Declaration
public override void SetupDefaultInteractions(Handedness controllerHandedness)
Parameters
Type | Name | Description |
---|---|---|
Handedness | controllerHandedness |
Overrides
Update()
Update controller.
Declaration
public void Update()
Update()
Update controller.
Declaration
public void Update()