|
MouseCameraControllerIsMouseButtonsConditionTrue Method |
IsMouseButtonsConditionTrue returns true when the correct mouse button is pressed according to the specified conditions (only mouse part of the conditions are checked; keyboard part is checked in IsKeyboardConditionTrue).
Namespace: Ab3d.ControlsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax protected virtual bool IsMouseButtonsConditionTrue(
MouseCameraControllerMouseAndKeyboardConditions conditions,
bool isLeftButtonPressed,
bool isMiddleButtonPressed,
bool isRightButtonPressed
)
Parameters
- conditions MouseCameraControllerMouseAndKeyboardConditions
- MouseAndKeyboardConditions
- isLeftButtonPressed Boolean
- true if left mouse button is pressed
- isMiddleButtonPressed Boolean
- true if middle mouse button is pressed
- isRightButtonPressed Boolean
- true if right mouse button is pressed
Return Value
Booleantrue when the correct mouse button is pressed according to the specified conditions
See Also