Click or drag to resize

Matrix4x4CreateOrthographicOffCenter Method

Builds a customized, orthographic projection matrix.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Matrix4x4 CreateOrthographicOffCenter(
	double left,
	double right,
	double bottom,
	double top,
	double zNearPlane,
	double zFarPlane
)

Parameters

left
Type: SystemDouble
Minimum X-value of the view volume.
right
Type: SystemDouble
Maximum X-value of the view volume.
bottom
Type: SystemDouble
Minimum Y-value of the view volume.
top
Type: SystemDouble
Maximum Y-value of the view volume.
zNearPlane
Type: SystemDouble
Minimum Z-value of the view volume.
zFarPlane
Type: SystemDouble
Maximum Z-value of the view volume.

Return Value

Type: Matrix4x4
The orthographic projection matrix.
See Also