Example #1
0
 public Tween2D(TimeSpan duration, Transform2D transform, Transform2D to, Ease ease)
     : this(duration, transform, new Transform2D()
 {
     Position = transform.Position,
     Rotation = transform.Rotation,
     Scale = transform.Scale,
 }, to, EaseFunctions.Get(ease))
 {
 }
Example #2
0
 public Tween2D(TimeSpan duration, Transform2D transform, Transform2D from, Transform2D to, Ease ease)
     : this(duration, transform, from, to, EaseFunctions.Get(ease))
 {
 }