Obsolete - use
EaseOnCurve(AnimationCurve, Color, Color, Single)
instead!
Namespace: NarayanaGames.CommonAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
[ObsoleteAttribute("Use NGEasing.EaseOnCurve instead!")] public static Color EaseOnCurve( AnimationCurve curve, Color from, Color to, float time )
Parameters
- curve
- Type: AnimationCurve
the curve to drive easing
- from
- Type: Color
the value to start from
- to
- Type: Color
the value to ease to
- time
- Type: System Single
the time in the animation (if you use animation curves with time from 0 to 1, this works exactly as Mathf.Lerp)
Return Value
a value between from and to based on timeSee Also