[]
Creates an orthographic perspective matrix from the given view volume dimensions.
public static Matrix4x4 Orthographic(float width, float height, float zNearPlane, float zFarPlane)
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. |
Type | Description |
---|---|
Matrix4x4 | The orthographic projection matrix. |