Mouse |
[FlagsAttribute] public enum MouseAndKeyboardConditions
Member name | Value | Description |
---|---|---|
Disabled | 0 | This action is disabled |
LeftMouseButtonPressed | 1 | Left mouse button must be pressed |
RightMouseButtonPressed | 2 | Right mouse button must be pressed |
MiddleMouseButtonPressed | 4 | Middle mouse button must be pressed |
XButton1ButtonPressed | 8 | The first extended mouse button. |
XButton2ButtonPressed | 16 | The second extended mouse button. |
ShiftKey | 256 | Shift key must be pressed |
ControlKey | 512 | Control key must be pressed |
AltKey | 1,024 | Alt key must be pressed |
SuperKey | 2,048 | The super key ("Windows" key on Windows) |
MouseAndKeyboardConditions enum defines the conditions that can be used to specify what condition must be met to rotate or move the camera by ManualMouseCameraController or other mouse camera controller.
To specify conditions to rotate the camera use the RotateCameraConditions property. To specify conditions to move the camera use the MoveCameraConditions property. To specify conditions to start quick zooming the camera use QuickZoomConditions property.