Interface Transform

Spatial transformation of an object, relative to it's parent object. All attributes are optional. But, if an attribute exists, all it's attributes must exist, too. The application ordering follows industry standard (X3D, ThreeJS) so first scales then rotates and then positions. This basically allows to scale and rotate an object undisturbed and then move it to its position. Think of a cube. Ordering as Matrices is therefore TRS*V

Hierarchy

  • Transform

Properties

position?: Vector

The position of the object, relative to it's parent.

rotation?: Quaternion

The rotation of the object, relative to it's parent.

scale?: Vector

The scaling of the object's geometries.

Generated using TypeDoc