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