Delegate Lerp<T>
Definition
Namespace: StardewUI.Animation
Assembly: StardewUI.dll
Performs linear interpolation between two values.
Type Parameters
T
The type of value.
Parameters
value1
T
The first, or "start" value to use at amount
= 0.0
.
value2
T
The second, or "end" value to use at amount
= 1.0
.
amount
Single
The interpolation amount between 0.0
and 1.0
.