EasedValue
Method
- Namespace
- DG.Tweening
- Assembly
- DOTween.dll
EasedValue(float, float, float, Ease)
public static float EasedValue(float from, float to, float lifetimePercentage, Ease easeType)
Parameters
from float
to float
lifetimePercentage float
easeType Ease
Returns
- float
EasedValue(float, float, float, Ease, float)
public static float EasedValue(float from, float to, float lifetimePercentage, Ease easeType, float overshoot)
Parameters
from float
to float
lifetimePercentage float
easeType Ease
overshoot float
Returns
- float
EasedValue(float, float, float, Ease, float, float)
public static float EasedValue(float from, float to, float lifetimePercentage, Ease easeType, float amplitude, float period)
Parameters
from float
to float
lifetimePercentage float
easeType Ease
amplitude float
period float
Returns
- float
EasedValue(float, float, float, AnimationCurve)
public static float EasedValue(float from, float to, float lifetimePercentage, AnimationCurve easeCurve)
Parameters
from float
to float
lifetimePercentage float
easeCurve AnimationCurve
Returns
- float
EasedValue(Vector3, Vector3, float, Ease)
public static Vector3 EasedValue(Vector3 from, Vector3 to, float lifetimePercentage, Ease easeType)
Parameters
from Vector3
to Vector3
lifetimePercentage float
easeType Ease
Returns
- Vector3
EasedValue(Vector3, Vector3, float, Ease, float)
public static Vector3 EasedValue(Vector3 from, Vector3 to, float lifetimePercentage, Ease easeType, float overshoot)
Parameters
from Vector3
to Vector3
lifetimePercentage float
easeType Ease
overshoot float
Returns
- Vector3
EasedValue(Vector3, Vector3, float, Ease, float, float)
public static Vector3 EasedValue(Vector3 from, Vector3 to, float lifetimePercentage, Ease easeType, float amplitude, float period)
Parameters
from Vector3
to Vector3
lifetimePercentage float
easeType Ease
amplitude float
period float
Returns
- Vector3
EasedValue(Vector3, Vector3, float, AnimationCurve)
public static Vector3 EasedValue(Vector3 from, Vector3 to, float lifetimePercentage, AnimationCurve easeCurve)
Parameters
from Vector3
to Vector3
lifetimePercentage float
easeCurve AnimationCurve
Returns
- Vector3