'Declaration Public Shared Function Perspective( _ ByVal width As Single, _ ByVal height As Single, _ ByVal nearPlaneDistance As Single, _ ByVal farPlaneDistance As Single _ ) As Matrix4x4
public static Matrix4x4 Perspective( float width, float height, float nearPlaneDistance, float farPlaneDistance )
Parameters
- width
- The width of the view volume at the near view plane.
- height
- The height of the view volume at the near view plane.
- nearPlaneDistance
- The distance to the near view plane.
- farPlaneDistance
- The distance to the far view plane.
Return Value
The perspective projection matrix.