Matrix
Constructors
Properties
Methods
Constructors
Methods
assign
equals
equalsWithTolerance
inverseAndDeterminant
loadIdentity
multiplyByScalar
normalMatrix
scale
setScaleComponent
setTranslationComponent
toJson
- Matrix.toJson()
Creates an object ready for JSON serialization.
- Return type
[number]
- Returns
The prepared object.
transform
- Matrix.transform(point, result)
Transforms a point according to this matrix. The source and destination points are allowed to be the same object.
transform4
- Matrix.transform4(point, result)
Transforms a point according to this matrix. The source and destination points are allowed to be the same object.
transformArray
- Matrix.transformArray(inPoints, outPoints)
Transforms an array of points according to this matrix.
transpose
upperLeft3x3Determinant
- Matrix.upperLeft3x3Determinant()
Computes the determinant of the upper-left 3x3 subsection of this matrix.
- Return type
number
static construct
static createFromArray
static createFromBasis
static createFromOffAxisRotation
- Matrix.createFromOffAxisRotation(axis, degrees)
Creates a rotation matrix from an arbitrary axis.