Class AlphaPropertyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the alpha for the specified shader property.
public class AlphaPropertyMotion : AbstractAlphaMotion<MaterialBuilderWithProperty<Color>>, ITweenMotion, IMotion
- Inheritance
-
AlphaPropertyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
AlphaPropertyMotion(Material, int, float?, float)
public AlphaPropertyMotion(Material item, int propertyId, float? from, float to)
Parameters
AlphaPropertyMotion(Material, int, float)
public AlphaPropertyMotion(Material item, int propertyId, float value)
Parameters
AlphaPropertyMotion(Material, string, float?, float)
public AlphaPropertyMotion(Material item, string propertyName, float? from, float to)
Parameters
AlphaPropertyMotion(Material, string, float)
public AlphaPropertyMotion(Material item, string propertyName, float value)
Parameters
Methods
GetFrom()
protected override float GetFrom()
Returns
SetValue(float)
protected override void SetValue(float value)
Parameters
value
float