Click or drag to resize
DigitalRuneGraphicsHelperGetFrustumFarCorners Method (Projection, Vector3)
Gets the view space positions of the 4 far corners of the viewing frustum.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static void GetFrustumFarCorners(
	Projection projection,
	Vector3[] frustumFarCorners
)

Parameters

projection
Type: DigitalRune.GraphicsProjection
The projection.
frustumFarCorners
Type: Vector3
A 4 element array that will be initialized with the frustum far corners.
Exceptions
ExceptionCondition
ArgumentNullExceptionprojection or frustumFarCorners is .
ArgumentExceptionfrustumFarCorners has wrong length. Expected length: 4.
Remarks
frustumFarCorners will be initialized with the 4 corner positions (in view space) of the far plane of the projection frustum. The order of the corners is: top-left, top-right, bottom-left, bottom-right.
See Also