Ejemplo n.º 1
0
 public static T ScaleZ <T>(this ITransformable3D <T> self, float z)
 => self.Scale(0, 0, z);
Ejemplo n.º 2
0
 public static T ScaleY <T>(this ITransformable3D <T> self, float y)
 => self.Scale(0, y, 0);
Ejemplo n.º 3
0
 public static T Scale <T>(this ITransformable3D <T> self, float x, float y, float z)
 => self.Scale(new Vector3(x, y, z));
Ejemplo n.º 4
0
 public static T ScaleX <T>(this ITransformable3D <T> self, float x)
 => self.Scale(x, 0, 0);
Ejemplo n.º 5
0
 public static T Scale <T>(this ITransformable3D <T> self, float scale)
 => self.Scale(new Vector3(scale, scale, scale));