Skip to content

Intermact API Reference / @intermact/core / NextToOptions

Interface: NextToOptions ​

Defined in: packages/core/src/scene/layout.ts:41

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

Extends ​

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).

Inherited from ​

TweenOptions.clamp


delay? ​

readonly optional delay?: number

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

Delay before the tween starts (seconds).

Inherited from ​

TweenOptions.delay


duration? ​

readonly optional duration?: number

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

Inherited from ​

TweenOptions.duration


easing? ​

readonly optional easing?: Easing

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

Inherited from ​

TweenOptions.easing


gap? ​

readonly optional gap?: number

Defined in: packages/core/src/scene/layout.ts:43

Edge gap in world units (default 0.25).

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