Class AlphaMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the alpha for Material.color value.
public class AlphaMotion : AbstractAlphaMotion<MaterialBuilder>, ITweenMotion, IMotion, IObjectMotion
- Inheritance
-
AlphaMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
AlphaMotion(Material, float?, float)
public AlphaMotion(Material item, float? from, float to)
Parameters
AlphaMotion(Material, float)
public AlphaMotion(Material item, float value)
Parameters
itemMaterialvaluefloat
Methods
GetFrom()
protected override float GetFrom()
Returns
SetValue(float)
protected override void SetValue(float value)
Parameters
valuefloat