Class FloatPropertyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the value for the specified shader property.
public class FloatPropertyMotion : AbstractFloatMotion<MaterialBuilderWithProperty<float>>, ITweenMotion, IMotion
- Inheritance
-
FloatPropertyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
FloatPropertyMotion(Material, int, float?, float)
public FloatPropertyMotion(Material item, int propertyId, float? from, float to)
Parameters
FloatPropertyMotion(Material, int, float)
public FloatPropertyMotion(Material item, int propertyId, float value)
Parameters
FloatPropertyMotion(Material, string, float?, float)
public FloatPropertyMotion(Material item, string propertyName, float? from, float to)
Parameters
FloatPropertyMotion(Material, string, float)
public FloatPropertyMotion(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