Intermact API Reference / @intermact/core / Track
Interface: Track
Defined in: packages/core/src/animation/track.ts:52
A compiled, seekable unit of animation. evaluate is a pure function.
Properties
duration
readonlyduration:number
Defined in: packages/core/src/animation/track.ts:57
easing
readonlyeasing:Easing
Defined in: packages/core/src/animation/track.ts:58
id
readonlyid:string
Defined in: packages/core/src/animation/track.ts:53
start
readonlystart:number
Defined in: packages/core/src/animation/track.ts:56
Absolute scene-time start (seconds).
targetId
readonlytargetId:string
Defined in: packages/core/src/animation/track.ts:54
Methods
evaluate()
evaluate(
localProgress):StatePatch
Defined in: packages/core/src/animation/track.ts:60
Pure: normalized progress [0,1] -> state patch.
Parameters
localProgress
number