[]
Creates a perspective projection matrix from the given view volume dimensions.
public static Matrix4x4 Perspective(float width, float height, float nearPlaneDistance, float farPlaneDistance)
Public Shared Function Perspective(width As Single, height As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4
| 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. |