StaticPLYPLY coordinate convention: 180-degree rotation around Z. Used by PLY, splat, KSplat, SPZ, and legacy SOG formats.
Tests whether this transform equals another within the given tolerance. Quaternion comparison accounts for double-cover (q and -q represent the same rotation).
The transform to compare against.
Floating-point tolerance. Defaults to 1e-6.
True if the transforms are equal within the tolerance.
Sets this transform to a rotation-only transform from Euler angles in degrees.
Rotation around X axis in degrees.
Rotation around Y axis in degrees.
Rotation around Z axis in degrees.
This transform (for chaining).
Fills the provided Mat4 with the TRS matrix for this transform.
The Mat4 to fill.
The filled Mat4.
Tests whether this transform is effectively identity within the given tolerance.
Floating-point tolerance. Defaults to 1e-6.
True if identity within the tolerance.
Transforms a point by this TRS transform: result = translation + rotation * (scale * point).
The input point.
The Vec3 to write the result into (may alias point).
The transformed point.
A source-to-engine coordinate transform comprising translation, rotation and uniform scale. Lives alongside a DataTable to describe how raw column data maps to PlayCanvas engine coordinates.
Example