Class: Matrix4
WebSG.Matrix4
The Matrix4 class represents a 4x4 matrix of numbers.
Indexable
▪ [n: number
]: number
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Matrix4()
Properties
length
• Readonly
length: number
Returns the number of elements of the Matrix.
Defined in
Methods
set
▸ set(value
): Matrix4
Sets the elements of the Matrix.
Parameters
Name | Type | Description |
---|---|---|
value | ArrayLike <number > | The new values for the Matrix4 instance. |