Class: Transform

Transform

Transform is a class to describe an object's transformation through position, rotation (as a quaternion) and scale.


new Transform()

Author:
  • derschmale <http://www.derschmale.com>

Members


euler

The rotation of the object.


matrix

The matrix representing the transform.


position

The position of the object.


rotation

The rotation of the object.


scale

The scale of the object.

Methods


clone()

Creates a copy of the object.


copyTransform()

Copies the state of another Transform object


disableMatrixUpdates()

This disables listening to the position, rotation, etc. properties. If you need to change a lot of these properties, at once, it may be worth using this.


enableMatrixUpdates()

This re-enables automatic matrix updates.


lookAt()

Orients the object in such a way as to face the target point.