'Declaration Public Shared Function PerspectiveFieldOfView( _ ByVal fieldOfView As System.Single, _ ByVal aspectRatio As System.Single, _ ByVal nearPlaneDistance As System.Single, _ ByVal farPlaneDistance As System.Single _ ) As Matrix4x4
public static Matrix4x4 PerspectiveFieldOfView( System.float fieldOfView, System.float aspectRatio, System.float nearPlaneDistance, System.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.