Exemple #1
0
 public Transform2(Vector2 location, Rotation2 rotation, Size2 size, float scale, int zIndex)
 {
     Location = location;
     Rotation = rotation;
     Size     = size;
     Scale    = scale;
     ZIndex   = zIndex;
 }
Exemple #2
0
 public Transform2(Vector2 location, Rotation2 rotation, float scale)
     : this(location, rotation, Size2.Zero, scale)
 {
 }
Exemple #3
0
 public Transform2(Vector2 location, Rotation2 rotation, Size2 size, float scale)
     : this(location, rotation, size, scale, 0)
 {
 }
Exemple #4
0
 public Transform2(Rotation2 rotation)
     : this(Vector2.Zero, rotation, Size2.Zero, 1)
 {
 }