 |
CameraZoomMode Enumeration |
CameraZoomMode defines the possible zoom modes in
CameraController.
Each zoom mode specifies different location into which the camera is zoomed.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic enum CameraZoomMode
MembersMember name | Value | Description |
---|
ViewCenter | 0 |
Zooms into the center of the SceneView
|
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.
|
PointerPosition | 2 |
Zooms into the 3D position that is "behind" current pointer or mouse position. If there is no 3D object behind the pointer position, then camera is zoomed into the SceneView's 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.
|
MousePosition | 2 | Obsolete.
|
Remarks[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.CameraZoomMode"]
See Also