getPosition() public method

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