Animation · interface

AnimationTransition

Explained in Animation.

interface AnimationTransition
import type { AnimationTransition } from '@driftengine/animation';

Properties

NameTypeDescription
fromreadonlystring
toreadonlystring
durationSecreadonlynumber
whenreadonly(parameters: Readonly<Record<string, number>>) => booleanThe consumer's own predicate over the consumer's own parameters.