Matrix3
Represents a 3x3 matrix in Three.js.
The constructor and set method take arguments in row-major order, while internally they are stored in the elements array in column-major order.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Returns a clone of this matrix
Returns a clone of this matrix
Attributes
- Definition Classes
-
Object
Copies the values from another matrix to this one
Copies the values from another matrix to this one
Attributes
Computes and returns the determinant of this matrix
Computes and returns the determinant of this matrix
Attributes
Tests if this matrix equals another matrix
Tests if this matrix equals another matrix
Attributes
Extracts the basis of this matrix into the three axis vectors provided
Extracts the basis of this matrix into the three axis vectors provided
Attributes
Sets the elements of this matrix from an array
Sets the elements of this matrix from an array
Attributes
Computes the normal matrix which is the inverse transpose of the upper left 3x3 portion of a 4x4 matrix
Computes the normal matrix which is the inverse transpose of the upper left 3x3 portion of a 4x4 matrix
Attributes
Sets this matrix to the identity matrix
Sets this matrix to the identity matrix
Attributes
Inverts this matrix
Inverts this matrix
Attributes
Sets this matrix as a 2D rotational transformation
Sets this matrix as a 2D rotational transformation
Attributes
Sets this matrix as a 2D scale transform
Sets this matrix as a 2D scale transform
Attributes
Sets this matrix as a 2D translation transform
Sets this matrix as a 2D translation transform
Attributes
Post-multiplies this matrix by another matrix
Post-multiplies this matrix by another matrix
Attributes
Multiplies two matrices and stores the result in this matrix
Multiplies two matrices and stores the result in this matrix
Attributes
Multiplies every component of the matrix by a scalar
Multiplies every component of the matrix by a scalar
Attributes
Pre-multiplies this matrix by another matrix
Pre-multiplies this matrix by another matrix
Attributes
Rotates this matrix by the given angle
Rotates this matrix by the given angle
Attributes
Scales this matrix with the given scalar values
Scales this matrix with the given scalar values
Attributes
Sets the elements of the matrix in row-major order
Sets the elements of the matrix in row-major order
Attributes
Sets this matrix to the upper 3x3 matrix of the given 4x4 matrix
Sets this matrix to the upper 3x3 matrix of the given 4x4 matrix
Attributes
Sets the UV transform matrix from offset, repeat, rotation, and center
Sets the UV transform matrix from offset, repeat, rotation, and center
Attributes
Returns the elements of this matrix in an array
Returns the elements of this matrix in an array
Attributes
Translates this matrix by the given scalar values
Translates this matrix by the given scalar values
Attributes
Transposes this matrix in place
Transposes this matrix in place
Attributes
Transposes this matrix into the supplied array
Transposes this matrix into the supplied array
Attributes
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object