# Matrix4::GetTranslation ```cpp Vector3 GetTranslation() const ``` 从矩阵中提取平移分量。 **返回:** `Vector3` - 平移向量 **复杂度:** O(1) **示例:** ```cpp Matrix4 m = ...; Vector3 translation = m.GetTranslation(); ```