[]
Creates a customized perspective projection matrix.
public static Matrix4x4 PerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance)
Type | Name | Description |
---|---|---|
float | left | The minimum x-value of the view volume at the near view plane. |
float | right | The maximum x-value of the view volume at the near view plane. |
float | bottom | The minimum y-value of the view volume at the near view plane. |
float | top | The maximum y-value of the view volume at the near view plane. |
float | nearPlaneDistance | The distance to the near view plane. |
float | farPlaneDistance | The distance to the far view plane. |
Type | Description |
---|---|
Matrix4x4 | The perspective projection matrix. |