Skip to content

Intermact API Reference / @intermact/core / TweenOptions

Interface: TweenOptions

Defined in: packages/core/src/animation/spec.ts:12

Common options for tween-based animations (design.md §11.4).

Extended by

Properties

clamp?

readonly optional clamp?: boolean

Defined in: packages/core/src/animation/spec.ts:18

Clamp progress to [0,1] (default true; reserved for M4 extrapolation).


delay?

readonly optional delay?: number

Defined in: packages/core/src/animation/spec.ts:16

Delay before the tween starts (seconds).


duration?

readonly optional duration?: number

Defined in: packages/core/src/animation/spec.ts:13


easing?

readonly optional easing?: Easing

Defined in: packages/core/src/animation/spec.ts:14

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)