 |
CameraControllerQuickZoomCamera Method |
Quickly zooms the camera for the pointer change defined by startPointerPosition and currentPointerPosition parameters.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic virtual void QuickZoomCamera(
Vector2 startPointerPosition,
Vector2 currentPointerPosition
)
Parameters
- startPointerPosition Vector2
- pointer or mouse position at the start of quick zooming
- currentPointerPosition Vector2
- current pointer or mouse position
See Also