Ejemplo n.º 1
0
 public static Rectangle Ease(EaseType easeType, ref Rectangle from, ref Rectangle to, float t, float duration)
 {
     return(Lerp(ref from, ref to, EaseHelper.Ease(easeType, t, duration)));
 }
Ejemplo n.º 2
0
 public static Color Ease(EaseType easeType, ref Color from, ref Color to, float t, float duration)
 {
     return(Lerp(ref from, ref to, EaseHelper.Ease(easeType, t, duration)));
 }
Ejemplo n.º 3
0
 public static Quaternion Ease(EaseType easeType, Quaternion from, Quaternion to, float t, float duration)
 {
     return(Quaternion.Lerp(from, to, EaseHelper.Ease(easeType, t, duration)));
 }
Ejemplo n.º 4
0
 public static Vector4 Ease(EaseType easeType, Vector4 from, Vector4 to, float t, float duration)
 {
     return(Lerp(from, to, EaseHelper.Ease(easeType, t, duration)));
 }
Ejemplo n.º 5
0
 public static Vector2 EaseAngle(EaseType easeType, Vector2 from, Vector2 to, float t, float duration)
 {
     return(AngleLerp(from, to, EaseHelper.Ease(easeType, t, duration)));
 }
Ejemplo n.º 6
0
 public static float Ease(EaseType easeType, float from, float to, float t, float duration)
 {
     return(Lerp(from, to, EaseHelper.Ease(easeType, t, duration)));
 }