Table of Contents

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

FloatInterpolator

Methods

Interpolate(float, float, double)

Computes the interpolated value between from and to.

public float Interpolate(float from, float to, double t)

Parameters

from float
to float
t double

Returns

float