Пример #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)));
 }
Пример #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)));
 }
Пример #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)));
 }
Пример #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)));
 }
Пример #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)));
 }
Пример #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)));
 }