Click or drag to resize
Ab4d.SharpEngine logo

MouseAndKeyboardConditions Enumeration

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.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
[FlagsAttribute]
public enum MouseAndKeyboardConditions
Members
Member nameValueDescription
Disabled0 This action is disabled
LeftMouseButtonPressed1 Left mouse button must be pressed
RightMouseButtonPressed2 Right mouse button must be pressed
MiddleMouseButtonPressed4 Middle mouse button must be pressed
XButton1ButtonPressed8 The first extended mouse button.
XButton2ButtonPressed16 The second extended mouse button.
ShiftKey256 Shift key must be pressed
ControlKey512 Control key must be pressed
AltKey1,024 Alt key must be pressed
SuperKey2,048 The super key ("Windows" key on Windows)
Remarks

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.

See Also