Skip to main content

Namespace: Tweening

Classes

Interfaces

Type Aliases

Easing

Ƭ Easing: keyof Easings | EasingFunction

Type representing an easing type, which can be either a predefined easing function or a custom easing function.

Defined in

src/tweening/Easings.ts:4


EasingFunction

Ƭ EasingFunction: (x: number) => number

Type declaration

▸ (x): number

Type representing an easing function that takes a single numeric parameter and returns a numeric result.

Parameters
NameType
xnumber
Returns

number

Defined in

src/tweening/Easings.ts:2