Matrix4Perspective(Double, Double, Double, Double) Method |
Creates a perspective projection matrix.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Matrix4 Perspective(
double fov,
double aspect,
double znear,
double zfar
)
Parameters
- fov Double
- Angle of the field of view in the y direction.
- aspect Double
- Aspect ratio of the view (width / height).
- znear Double
- Distance to the near clip plane.
- zfar Double
- Distance to the far clip plane.
Return Value
Matrix4A projection matrix that transforms camera space to raster space.
See Also