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


copyTransform()

Copies the state of another Transform object


lookAt()

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