Animation · interface
AnimationTransition
Explained in Animation.
interface AnimationTransitionimport type { AnimationTransition } from '@driftengine/animation';Properties
| Name | Type | Description |
|---|---|---|
fromreadonly | string | |
toreadonly | string | |
durationSecreadonly | number | |
whenreadonly | (parameters: Readonly<Record<string, number>>) => boolean | The consumer's own predicate over the consumer's own parameters. |