Method OrthoOffCenter
OrthoOffCenter(float, float, float, float, float, float)
Returns a float4x4 off-center orthographic projection matrix.
Declaration
public static float4x4 OrthoOffCenter(float left, float right, float bottom, float top, float near, float far)
Parameters
| Type | Name | Description |
|---|---|---|
| float | left | The minimum x-coordinate of the view volume. |
| float | right | The maximum x-coordinate of the view volume. |
| float | bottom | The minimum y-coordinate of the view volume. |
| float | top | The minimum y-coordinate of the view volume. |
| float | near | The distance to the near plane. |
| float | far | The distance to the far plane. |
Returns
| Type | Description |
|---|---|
| float4x4 | The float4x4 off-center orthographic projection matrix. |