Matrix4Extension extension
- on
Methods
-
setAsOrthographic(
double nearPlaneWidth, double aspectRatio, double zNear, double zFar) → void - Set the matrix to use a orthographic view.
-
setAsPerspective(
double fovy, double aspectRatio, double zNear, double zFar) → void - Set the matrix to use a projection view.
-
setAsViewMatrix(
Vector3 position, Vector3 target, Vector3 up) → void - Set the matrix to be a view matrix.