Click or drag to resize
Ab4d.SharpEngine logo

BoundingFrustumGetZoomToExtentsShiftVector(Vector3) 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.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public Vector3 GetZoomToExtentsShiftVector(
	Vector3[] points
)

Parameters

points  Vector3
The points.

Return Value

Vector3
The zoom to fit vector
See Also