Line 1:
Line 1:
−
A '''transform matrix''' is a data structure that holds the scale, rotation, and translation of an object relative to a parent transform.
+
A '''transform matrix''' is a data structure that holds the scale, rotation, and translation of an object relative to a root node, also called 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]].