aninest-root / module:Interp / getProgress
getProgress()
ts
function getProgress(t, duration): number;
Defined in: Animate/Interp.ts:31
Gets the linear progress of an animation based on time and duration, clamped between 0 and 1.
Parameters
t
number
duration
number
Returns
number