Method PerspectiveMatrix
PerspectiveMatrix(double, double, double, double)
Create a perspective matrix from a fovX, an aspect ratio, a near, and a far clipping distance
Declaration
[HandleProcessCorruptedStateExceptions]
public Matrix4 PerspectiveMatrix(double fovX, double aspectRatio, double nearClipDistance, double farClipDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| double | fovX | The field of view on the x axis |
| double | aspectRatio | The aspect ratio foxX/fovY |
| double | nearClipDistance | The near clipping distance |
| double | farClipDistance | The far clipping distance |
Returns
| Type | Description |
|---|---|
| Matrix4 |