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

TThe type of the parameter.

Parameters

aThe start value.
bThe end value.
tThe interpolation value between the start and end value.
snappingSnaps the interpolated value to the nearest whole number.

Returns

TThe interpolated value between the start and end value.