Interpolater<T>
Delegate in Zigurous.Tweening
Declaration
public delegate T Interpolater<T>(T a, T b, float t, bool snapping);Description
A function delegate that interpolates the value between a and b by t.
Type Parameters
| T | The type of the parameter. |
Parameters
| a | The start value. |
| b | The end value. |
| t | The interpolation value between the start and end value. |
| snapping | Snaps the interpolated value to the nearest whole number. |
Returns
| T | The interpolated value between the start and end value. |