Constructor of 4x4 Matrix4.
default 1, column 1, row 1
default 0, column 1, row 2
default 0, column 1, row 3
default 0, column 1, row 4
default 0, column 2, row 1
default 1, column 2, row 2
default 0, column 2, row 3
default 0, column 2, row 4
default 0, column 3, row 1
default 0, column 3, row 2
default 1, column 3, row 3
default 0, column 3, row 4
default 0, column 4, row 1
default 0, column 4, row 2
default 0, column 4, row 3
default 1, column 4, row 4
An array containing the elements of the matrix (column matrix).
elements[0] first column and first row value m11 elements[1] first column and second row value m12 elements[2] first column and third row value m13 elements[3] first column and fourth row value m14 elements[4] second column and first row value m21 and so on
Static Readonly Internal _identityIdentity matrix.
Static Private Readonly _tempStatic Private Readonly _tempStatic Private Readonly _tempStatic Private Readonly _tempDecompose this matrix to translation, rotation and scale elements.
True if this matrix can be decomposed, false otherwise
Translation vector as an output parameter
Rotation quaternion as an output parameter
Scale vector as an output parameter
Get rotation from this matrix.
The out
Rotation quaternion as an output parameter
Set the value of this matrix, and return this matrix.
This matrix
column 1, row 1
column 1, row 2
column 1, row 3
column 1, row 4
column 2, row 1
column 2, row 2
column 2, row 3
column 2, row 4
column 3, row 1
column 3, row 2
column 3, row 3
column 3, row 4
column 4, row 1
column 4, row 2
column 4, row 3
column 4, row 4
Static affineCalculate an affine matrix.
The scale used to calculate matrix
The rotation used to calculate matrix
The translation used to calculate matrix
The calculated matrix
Static equalsStatic invertStatic lerpStatic lookStatic multiplyStatic orthoCalculate an orthographic projection matrix.
The left edge of the viewing
The right edge of the viewing
The bottom edge of the viewing
The top edge of the viewing
The depth of the near plane
The depth of the far plane
The calculated orthographic projection matrix
Static perspectiveCalculate a perspective projection matrix.
Field of view in the y direction, in radians
Aspect ratio, defined as view space width divided by height
The depth of the near plane
The depth of the far plane
The calculated perspective projection matrix
Static rotateStatic rotationStatic rotationCalculate a rotation matrix from a quaternion.
The quaternion used to calculate the matrix
The calculated rotation matrix
Static rotationCalculate a matrix from a quaternion and a translation.
The quaternion used to calculate the matrix
The translation used to calculate the matrix
The calculated matrix
Static scaleStatic scalingStatic translateStatic translationStatic transposeGenerated using TypeDoc
Represents a 4x4 mathematical matrix.