跳转到内容

TEasingFunction

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

An easing function used to calculate the current value

See

AnimationBase#calculate

Param

ms elapsed since start

Param

Param

Param

in ms

Type Parameters

T = unknown

Defined in

src/util/animation/types.ts:34