Click or drag to resize
Ab4d.SharpEngine logo

BoundingFrustumGetZoomToExtentsShiftDistance Method

Overload List
 NameDescription
Public methodGetZoomToExtentsShiftDistance(BoundingBox) 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).
Public methodGetZoomToExtentsShiftDistance(Vector3) 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).
Top
See Also