Click or drag to resize
AB4D logo

MouseCameraControllerQuickZoomConditions Property

Gets or sets conditions from MouseCameraControllerMouseAndKeyboardConditions enum that must be met to start quick zooming - quickly zooming in and out with moving the mouse forward and backward. Default value is MouseAndKeyboardConditions.Disabled.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public MouseCameraControllerMouseAndKeyboardConditions QuickZoomConditions { get; set; }

Property Value

MouseCameraControllerMouseAndKeyboardConditions
Remarks

QuickZoomConditionsb> gets or sets conditions from MouseCameraControllerMouseAndKeyboardConditions enum that must be met to start quick zooming - quickly zooming and and out with moving the mouse forward and backward.

Default value is MouseAndKeyboardConditions.Disabled.

When the same conditions are used for quick zoom, rotation or camera movement, then all the actions are performed. For example if rotation is bound to left mouse button and quick zoom is bound to left and right mouse buttons, then when user will perform quick zoom (left and right buttons), then also camera rotation will be performed.

QuickZoom works only for camera that define Distance property and for FreeCamera (does not work for the FirstPersonCamera).

Other settings that also define the behaviour of quick zooming are:
QuickZoomMaxZoomInFactor
QuickZoomZoomOutFactor
QuickZoomMaxFactorScreenDistance
ShowQuickZoomMarker

See Also