Class FloatInterpolator
- Namespace
- SharpConsoleUI.Animation
- Assembly
- SharpConsoleUI.dll
Interpolates between two float values.
public sealed class FloatInterpolator : IInterpolator<float>
- Inheritance
-
FloatInterpolator
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Singleton instance.
public static readonly FloatInterpolator Instance
Field Value
Methods
Interpolate(float, float, double)
Computes the interpolated value between from and to.
public float Interpolate(float from, float to, double t)