# Matrix4::Decompose ```cpp void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const ``` 将矩阵分解为平移、旋转和缩放分量。 **参数:** - `translation` - 输出平移向量 - `rotation` - 输出旋转四元数 - `scale` - 输出缩放向量 **复杂度:** O(1) **示例:** ```cpp Matrix4 m = ...; Vector3 translation; Quaternion rotation; Vector3 scale; m.Decompose(translation, rotation, scale); ```