コード例 #1
0
        /// <summary>
        ///   <para>Creates a translation, rotation and scaling matrix.</para>
        /// </summary>
        /// <param name="pos"></param>
        /// <param name="q"></param>
        /// <param name="s"></param>
        public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
        {
            Matrix4x4 matrix4x4;

            Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s, out matrix4x4);
            return(matrix4x4);
        }
コード例 #2
0
ファイル: Matrix4x4.cs プロジェクト: qipa/UnityDecompiled-2
        public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
        {
            Matrix4x4 result;

            Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s, out result);
            return(result);
        }
コード例 #3
0
ファイル: Matrix4x4.cs プロジェクト: zhkuang/UnityDecompiled
 public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
 {
     return(Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s));
 }