API

Interface DecomposedTransform

Result of decomposeMat4: a TRS triple.

interface DecomposedTransform {
    rotation: Quat;
    scale: Vec3;
    translation: Vec3;
}
Index
rotation: Quat

Rotation as a unit quaternion.

scale: Vec3

Per-axis scale (lengths of the basis columns).

translation: Vec3

Translation (matrix columns 12/13/14).