Click or drag to resize
AB4D logo

MouseCameraControllerUsedMouseButton Property

Note: This API is now obsolete.

Gets or sets a MouseButton that specifies on which mouse button will be used to rotate and move the camera. Default value is Right mouse button. UsedMouseButton is obsolete. Please use the RotateCameraConditions and the MoveCameraConditions properties instead.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
[ObsoleteAttribute("UsedMouseButton is obsolete. Please use the RotateCameraConditions and the MoveCameraConditions properties instead.")]
public MouseButton UsedMouseButton { get; set; }

Property Value

MouseButton
Remarks

UsedMouseButton gets or sets a MouseButton that specifies on which mouse button will be used to rotate and move the camera.

UsedMouseButton is obsolete. Please use the RotateCameraConditions and the MoveCameraConditions properties instead.

The used mouse button is used to rotate the camera. When the mouse button is pressed with the ALT key, the camera is moved.

Changing the UsedMouseButton actually changes the RotateCameraConditions and MoveCameraConditions properties. They can be also set manually to assign camera rotation and movement to some other buttons and keyboard modifiers.

See Also