'Declaration Public Shared Function PerspectiveFieldOfView( _ ByVal fieldOfView As Single, _ ByVal aspectRatio As Single, _ ByVal nearPlaneDistance As Single, _ ByVal farPlaneDistance As Single _ ) As Matrix4x4
public static Matrix4x4 PerspectiveFieldOfView( float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance )
Parameters
- fieldOfView
- The field of view in the y direction, in radians.
- aspectRatio
- The aspect ratio, defined as view space width divided by height.
- nearPlaneDistance
- The distance to the near view plane.
- farPlaneDistance
- The distance to the far view plane.
Return Value
The perspective projection matrix.