[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.Orthographic

Orthographic Method

Orthographic(float, float, float, float)

Creates an orthographic perspective matrix from the given view volume dimensions.

Declaration
public static Matrix4x4 Orthographic(float width, float height, float zNearPlane, float zFarPlane)
Parameters
Type Name Description
float width

The width of the view volume.

float height

The height 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.