Class ColorValueMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Values
public class ColorValueMotion : AbstractValueMotion<Color>, ITweenMotion, IMotion
- Inheritance
-
AbstractEventMotion<Color>AbstractValueMotion<Color>ColorValueMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
ColorValueMotion(Color, Color, Action<Color>)
Lerps a Color value.
public ColorValueMotion(Color from, Color to, Action<Color> callback)
Parameters
from
Colorto
Colorcallback
Action<Color>
Properties
LerpFunction
protected override Func<Color, Color, float, Color> LerpFunction { get; }