Matrix44CreatePerspectiveFieldOfView(Double, Double, Double, Double) Method |
Creates a new projection
Matrix44 for perspective view with field of view.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static Matrix44 CreatePerspectiveFieldOfView(
double fieldOfView,
double aspectRatio,
double nearPlaneDistance,
double farPlaneDistance
)
Public Shared Function CreatePerspectiveFieldOfView (
fieldOfView As Double,
aspectRatio As Double,
nearPlaneDistance As Double,
farPlaneDistance As Double
) As Matrix44
Parameters
- fieldOfView Double
- Field of view in the y direction in radians.
- aspectRatio Double
- Width divided by height of the viewing volume.
- nearPlaneDistance Double
- Distance to the near plane.
- farPlaneDistance Double
- Distance to the far plane.
Return Value
Matrix44The new projection
Matrix44 for perspective view with FOV.
See Also