Skip to content

TEasingFunction

TEasingFunction<T>: T extends number[] ? (timeElapsed, startValue, byValue, duration, index) => number : (timeElapsed, startValue, byValue, duration) => number

Defined in: src/util/animation/types.ts:34

An easing function used to calculate the current value

Type Parameters

T = unknown

See

AnimationBase#calculate

Param

ms elapsed since start

Param

Param

Param

in ms

Returns

next value