 |
BoundingFrustumGetZoomToExtentsShiftVector(BoundingBox) Method |
Get the vector shift which when added to camera position will do the effect of zoom to extents (zoom to fit) operation,
so all the passed points will fit in the current view.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic Vector3 GetZoomToExtentsShiftVector(
BoundingBox boundingBox
)
Parameters
- boundingBox BoundingBox
- The bounding box.
Return Value
Vector3The zoom to fit vector
See Also