Class: TransformBase

Tiny. TransformBase

Generic class to deal with traditional 2D matrix transforms

new Tiny.TransformBase()

Members

localTransformTiny.Matrix

The local matrix transform

updateWorldTransform

Updates the values of the object and applies the parent's transform.

worldTransformTiny.Matrix

The global matrix transform. It can be swapped temporarily by some functions like getLocalBounds()

Methods

TransformBase does not have decomposition, so this function wont do anything

updateTransform(parentTransform)

Updates the values of the object and applies the parent's transform.

Name Type Description
parentTransform Tiny.TransformBase

The transform of the parent of this object

Documentation generated by JSDoc 3.4.3 on Mon Dec 03 2018 17:48:53 GMT+0800 (CST)