Transform
Index
Constructors
constructor
Returns Transform
Accessors
children
Returns readonly Transform[]
globalPos
globalRotation
Returns number
Parameters
rotation: number
Returns void
globalScale
globalZ
Returns number
Parameters
z: number
Returns void
publicinverse
Returns AffineMatrix
publicmatrix
Calculates and returns the matrix representation of this transform
Avoid mutating the matrix to update the transform, it is not the source of truth. Update the transform pos, rotation, scale.
Returns AffineMatrix
parent
pos
rotation
Returns number
Parameters
rotation: number
Returns void
scale
z
Returns number
Parameters
z: number
Returns void
Methods
publicapply
publicapplyInverse
publicclone
publiccloneWithParent
publicflagDirty
Returns void
publicisMirrored
Returns true if the transform has a negative x scale or y scale, but not both
Returns boolean
publicsetTransform
publictoString
Returns string
Calculates and returns the inverse matrix representation of this transform