コード例 #1
0
        public static string ConvertToOptimizedString(Matrix mat, char separator)
        {
            Quaternion rot;
            Vector3    scale;
            Vector3    trans;

            mat.GetTRS(out scale, out rot, out trans);

            return(String.Format("{0}{7}{1}{7}{2}{7}{3}{7}{4}{7}{5}{7}{6}",
                                 trans.x, trans.y, trans.z, rot.x, rot.y, rot.z, rot.w, separator));
        }