1
0
0
1
0
0
Static
IDENTITYStatic
TEMP_Appends the given Matrix to this Matrix.
The matrix to append.
This matrix. Good for chaining method calls.
Get a new position with the current transformation applied. Can be used to go from a child's coordinate space to the world coordinate space. (e.g. rendering)
The origin
Optional
newPos: PThe point that the new position is assigned to (allowed to be same as input)
The new point, transformed through this matrix
Get a new position with the inverse of the current transformation applied. Can be used to go from the world coordinate space to a child's coordinate space. (e.g. input)
The origin
Optional
newPos: PThe point that the new position is assigned to (allowed to be same as input)
The new point, inverse-transformed through this matrix
Changes the values of the matrix to be the same as the ones in given matrix
The matrix to copy from.
this
Prepends the given Matrix to this Matrix.
The matrix to prepend
This matrix. Good for chaining method calls.
Sets the matrix based on all the available properties
Position on the x axis
Position on the y axis
Pivot on the x axis
Pivot on the y axis
Scale on the x axis
Scale on the y axis
Rotation in radians
Skew on the x axis
Skew on the y axis
This matrix. Good for chaining method calls.
Creates an array from the current Matrix object.
Whether we need to transpose the matrix or not
Optional
out: Float32ArrayIf provided the array will be assigned to out
The newly created array which contains the matrix
Generated using TypeDoc
The PixiJS Matrix as a class makes it a lot faster.
Here is a representation of it:
Memberof
PIXI