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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public Vector3 GetZoomToExtentsShiftVector(
	Vector3[] points
)

Parameters

points  Vector3
The points.

Return Value

Vector3
The zoom to fit vector
See Also