Type Alias EasingFunction
EasingFunction: (currentTime: number, startValue: number, byValue: number, duration: number) => number
Type Declaration
- (currentTime: number, startValue: number, byValue: number, duration: number): number
Parameters
- currentTime: number
- startValue: number
- byValue: number
- duration: number
Returns number
An EasingFunction describes how much to modify a scalar value based on the current time, the start value, the change in value, and the duration.