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