Creates a perspective projection matrix.
Declaration Syntax
public static void CreatePerspectiveMatrix(
float width,
float height,
float nearPlaneDistance,
float farPlaneDistance,
out Matrix result
)
Parameters
-
width (Single)
- Width of the view volume at the near view plane
-
height (Single)
- Height of the view volume at the near view plane
-
nearPlaneDistance (Single)
- Distance to the near view plane
-
farPlaneDistance (Single)
- Distance to the far view plane
-
result (Matrix%)
- Existing matrix to hold result
Assembly:
Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)