[]
Creates a perspective projection matrix from the given view volume dimensions.
public static Matrix4x4 Perspective(float width, float height, float nearPlaneDistance, float farPlaneDistance)
| Type | Name | Description |
|---|---|---|
| float | width | The width of the view volume at the near view plane. |
| float | height | The height 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. |