[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.OrthographicOffCenter

OrthographicOffCenter Method

OrthographicOffCenter(float, float, float, float, float, float)

Creates a customized orthographic projection matrix.

Declaration
public static Matrix4x4 OrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane)
Parameters
Type Name Description
float left

The minimum X-value of the view volume.

float right

The maximum X-value of the view volume.

float bottom

The minimum Y-value of the view volume.

float top

The maximum Y-value of the view volume.

float zNearPlane

The minimum Z-value of the view volume.

float zFarPlane

The maximum Z-value of the view volume.

Returns
Type Description
Matrix4x4

The orthographic projection matrix.