Mouse |
public enum CameraZoomMode
Member name | Value | Description |
---|---|---|
Viewport3DCenter | 0 | Zooms into the center of the Viewport3D |
CameraRotationCenterPosition | 1 | Zooms into the 3D position defined by the TargetPositionCamera.RotationCenterPosition or FreeCamera.RotationCenterPosition property. This mode can be used only with TargetPositionCamera or FreeCamera. |
MousePosition | 2 | Zooms into the 3D position that is "behind" current mouse position. If there is no 3D object behind mouse position, then camera is zoomed into the Viewport3D center. This mode can be used only with TargetPositionCamera or FreeCamera. When this zoom mode is used, it changes the value of the TargetPositionCamera.RotationCenterPosition or FreeCamera.RotationCenterPosition property. |