Click or drag to resize
AB4D logo

MouseCameraControllerProcessMouseMove(Double, Double, Point, Boolean, Boolean, Boolean, ModifierKeys) Method

ProcessMouseMove handles mouse moves and calls the RotateCamera or the MoveCamera method based on the MouseCameraController settings and pressed modifier keys. The method can be overridden to move the camera based on some custom logic.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
protected virtual bool ProcessMouseMove(
	double mouseDx,
	double mouseDy,
	Point mousePosition,
	bool isLeftButtonPressed,
	bool isMiddleButtonPressed,
	bool isRightButtonPressed,
	ModifierKeys keyboardModifiers
)

Parameters

mouseDx  Double
mouse change of the x coordinate
mouseDy  Double
mouse change of the y coordinate
mousePosition  Point
mouse position
isLeftButtonPressed  Boolean
true if Left button is pressed
isMiddleButtonPressed  Boolean
true if Middle button is pressed
isRightButtonPressed  Boolean
true if Right button is pressed
keyboardModifiers  ModifierKeys
keyboardModifiers

Return Value

Boolean
true if the mouse move was processed
See Also