 |
BoundingFrustumGetZoomToExtentsShiftDistance(Vector3) Method |
Get the distance which when added to camera position along the lookat direction will do the effect of zoom to extents (zoom to fit) operation,
so all the passed points will fit in the current view.
if the returned value is positive, the camera will move toward the lookat direction (ZoomIn).
if the returned value is negative, the camera will move in the reverse direction of the lookat direction (ZoomOut).
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic float GetZoomToExtentsShiftDistance(
Vector3[] points
)
Parameters
- points Vector3
- The points.
Return Value
SingleThe zoom to fit distance
See Also