ease() 공개 정적인 메소드

public static ease ( EaseType easeType, float t, float duration ) : float
easeType EaseType
t float
duration float
리턴 float
예제 #1
0
 public static Color ease(EaseType easeType, ref Color from, ref Color to, float t, float duration)
 {
     return(unclampedLerp(ref from, ref to, EaseHelper.ease(easeType, t, duration)));
 }
예제 #2
0
 public static Rectangle ease(EaseType easeType, ref Rectangle from, ref Rectangle to, float t, float duration)
 {
     return(unclampedLerp(ref from, ref to, EaseHelper.ease(easeType, t, duration)));
 }
예제 #3
0
 public static Vector4 ease(EaseType easeType, Vector4 from, Vector4 to, float t, float duration)
 {
     return(unclampedLerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }
예제 #4
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)));
 }
예제 #5
0
 public static float ease(EaseType easeType, float from, float to, float t, float duration)
 {
     return(unclampedLerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }
 public static Rectangle ease(EaseType easeType, Rectangle from, Rectangle to, float t, float duration)
 {
     return(lerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }
 public static Color ease(EaseType easeType, Color from, Color to, float t, float duration)
 {
     return(lerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }
 public static Vector2 easeAngle(EaseType easeType, Vector2 from, Vector2 to, float t, float duration)
 {
     return(angleLerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }
 public static Vector3 ease(EaseType easeType, Vector3 from, Vector3 to, float t, float duration)
 {
     return(lerp(from, to, EaseHelper.ease(easeType, t, duration)));
 }