ILNumerics - Technical Application Development
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Creates a perspective projection matrix.
[ILNumerics Visualization Engine]
Namespace: ILNumerics.Drawing
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax
public static Matrix4 CreatePerspectiveFieldOfView( float fovy, float aspect, float zNear, float zFar )
Parameters
- fovy
- Type: SystemSingle
Angle of the field of view in the y direction (in radians) - aspect
- Type: SystemSingle
Aspect ratio of the view (width / height) - zNear
- Type: SystemSingle
Distance to the near clip plane - zFar
- Type: SystemSingle
Distance to the far clip plane
Return Value
Type: Matrix4Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException |
Thrown under the following conditions:
|
Remarks
[ILNumerics Visualization Engine]
See Also