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