Click or drag to resize
AB4D logo

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.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
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

Boolean
true when the correct mouse button is pressed according to the specified conditions
See Also