Members
PIXI.Transform.IDENTITY PIXI.Transform staticreadonly
A default (identity) transform
localTransform PIXI.Matrix
The local transformation matrix.
pivot PIXI.ObservablePoint
The pivot point of the displayObject that it rotates around.
position PIXI.ObservablePoint
The coordinate of the object relative to the local coordinates of the parent.
The rotation of the object in radians.
scale PIXI.ObservablePoint
The scale factor of the object.
skew PIXI.ObservablePoint
The skew amount, on the x and y axis.
worldTransform PIXI.Matrix
The world transformation matrix.
The locally unique ID of the local transform used to calculate the current local transformation matrix.
The X-coordinate value of the normalized local X axis, the first column of the local transformation matrix without a scale.
The X-coordinate value of the normalized local Y axis, the second column of the local transformation matrix without a scale.
The locally unique ID of the local transform.
The locally unique ID of the parent's world transform used to calculate the current world transformation matrix.
The rotation amount.
The Y-coordinate value of the normalized local X axis, the first column of the local transformation matrix without a scale.
The Y-coordinate value of the normalized local Y axis, the second column of the local transformation matrix without a scale.
The locally unique ID of the world transform.
Methods
Decomposes a matrix and sets the transforms properties based on it.
Name | Type | Description |
---|---|---|
matrix |
PIXI.Matrix |
The matrix to decompose |
Updates the local transformation matrix.
Updates the local and the world transformation matrices.
Name | Type | Description |
---|---|---|
parentTransform |
PIXI.Transform |
The parent transform |
Called when a value changes.
Called when the skew or the rotation changes.