Zeplin.Transformation.Transformation C# (CSharp) Method

Transformation() public method

Constructs a transformation with the most common elements (position, scale, rotation)
public Transformation ( Vector2 position, Vector2 scale, float rotation ) : System
position Vector2 The object's position in world space
scale Vector2 The object's scale factors
rotation float Degrees rotated, in radians
return System
        public Transformation(Vector2 position, Vector2 scale, float rotation)
            : this(position, scale, rotation, Vector2.Zero)
        {
        }

Same methods

Transformation::Transformation ( ) : System
Transformation::Transformation ( Transformation old ) : System
Transformation::Transformation ( Vector2 position, Vector2 scale, float rotation, Vector2 pivot ) : System