예제 #1
0
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 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
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 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
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 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
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 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
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 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
파일: Lerps.cs 프로젝트: JonSnowbd/Ash
 public static float Ease(EaseType easeType, float from, float to, float t, float duration)
 {
     return(Lerp(from, to, EaseHelper.Ease(easeType, t, duration)));
 }