Class MouseRotationProvider
Utility class to manage toggling of mouse rotation and associated features, such as cursor visibility/locking
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MouseRotationProvider
Properties
IsRotating
True when rotation is currently active.
Declaration
public bool IsRotating { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsRotating
True when rotation is currently active.
Declaration
public bool IsRotating { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Update(KeyBinding, KeyBinding, Boolean)
Start or stop rotation based on the key binding.
Declaration
public void Update(KeyBinding rotationKey, KeyBinding cancelRotationKey, bool toggle)
Parameters
Type | Name | Description |
---|---|---|
KeyBinding | rotationKey | |
KeyBinding | cancelRotationKey | |
Boolean | toggle |
Remarks
Also manages shared features such as cursor visibility that can be activated by different rotation providers.
Update(KeyBinding, KeyBinding, Boolean)
Start or stop rotation based on the key binding.
Declaration
public void Update(KeyBinding rotationKey, KeyBinding cancelRotationKey, bool toggle)
Parameters
Type | Name | Description |
---|---|---|
KeyBinding | rotationKey | |
KeyBinding | cancelRotationKey | |
Boolean | toggle |
Remarks
Also manages shared features such as cursor visibility that can be activated by different rotation providers.