Class ColorMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Lights
Lerps the Light.color value.
public class ColorMotion : AbstractColorMotion<Light>, ITweenMotion, IMotion
- Inheritance
-
AbstractTweenMotion<Light>AbstractColorMotion<Light>ColorMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
ColorMotion(Light, Color)
public ColorMotion(Light item, Color value)
Parameters
item
Lightvalue
Color
ColorMotion(Light, Color?, Color)
public ColorMotion(Light item, Color? from, Color to)
Parameters
item
Lightfrom
Color?to
Color
Methods
GetFrom()
protected override Color GetFrom()
Returns
- Color
SetValue(Color)
protected override void SetValue(Color value)
Parameters
value
Color