예제 #1
0
 /// <summary>
 /// 通过矩阵获取Position
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 GetPosition(this Matrix4x4 self)
 {
     return(Matrix4x4Util.GetPosition(self));
 }
예제 #2
0
 /// <summary>
 /// 通过矩阵获取Scale
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 GetScale(this Matrix4x4 self)
 {
     return(Matrix4x4Util.GetScale(self));
 }
예제 #3
0
 /// <summary>
 /// 通过矩阵获取Rotation
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Quaternion GetRotation(this Matrix4x4 self)
 {
     return(Matrix4x4Util.GetRotation(self));
 }