Line 1:
Line 1:
−
A '''transform matrix''' is a method of representing how one object is scaled, rotated, and moved relative to another.
+
A '''transform matrix''' is a data structure that holds the scale, rotation, and translation of an object relative to a parent transform.
Transform matrixes are often a 4x4 matrix for 3D. It represents scale, rotation, and translation in that order, known as SRT.
Transform matrixes are often a 4x4 matrix for 3D. It represents scale, rotation, and translation in that order, known as SRT.
Transform matrixes are useful in [[scene graphs]], for example in [[RealityKit]].
Transform matrixes are useful in [[scene graphs]], for example in [[RealityKit]].