Class BlendableFloat
Float Lerp utility class
public class BlendableFloat : IBlendableProperty<float>
- Inheritance
-
objectBlendableFloat
- Implements
-
IBlendableProperty<float>
Constructors
BlendableFloat()
public BlendableFloat()
BlendableFloat(float)
public BlendableFloat(float value)
Parameters
value
float
Properties
CurrentValue
Current value of the property
public float CurrentValue { get; set; }
Property Value
- float
Methods
Lerp(float, float, float)
Linearly interpolates between two values
public static float Lerp(float start, float end, float t)
Parameters
start
floatend
floatt
float
Returns
- float
Interpolated value