ILNumerics Ultimate VS

Matrix4CreatePerspectiveOffCenter Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Creates an perspective projection matrix.

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static void CreatePerspectiveOffCenter(
	float left,
	float right,
	float bottom,
	float top,
	float zNear,
	float zFar,
	out Matrix4 result
)

Parameters

left
Type: SystemSingle
Left edge of the view frustum
right
Type: SystemSingle
Right edge of the view frustum
bottom
Type: SystemSingle
Bottom edge of the view frustum
top
Type: SystemSingle
Top edge of the view frustum
zNear
Type: SystemSingle
Distance to the near clip plane
zFar
Type: SystemSingle
Distance to the far clip plane
result
Type: ILNumerics.DrawingMatrix4
A projection matrix that transforms camera space to raster space
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown under the following conditions:
  • zNear is negative or zero
  • zFar is negative or zero
  • zNear is larger than zFar
Remarks

[ILNumerics Visualization Engine]

See Also

Reference