getRotation() public method

public getRotation ( ) : Quaternion
return Quaternion
Example #1
0
 public static void set(this Transform transform, PMatrix matrix)
 {
     transform.localScale = matrix.getScale();
     transform.rotation   = matrix.getRotation();
     transform.position   = matrix.getPosition();
 }
Example #2
0
 public static void set(this Transform transform, PMatrix matrix)
 {
     transform.localScale = matrix.getScale();
     transform.rotation = matrix.getRotation();
     transform.position = matrix.getPosition();
 }