Intermact API Reference / @intermact/core / PlayerOptions
Interface: PlayerOptions
Defined in: packages/core/src/animation/player.ts:61
Optional hooks for the framework-free Player.
Properties
initialStates
readonlyinitialStates:ReadonlyMap<string,RuntimeState>
Defined in: packages/core/src/animation/player.ts:63
Initial baseline runtime states keyed by object id.
objects
readonlyobjects:ReadonlyMap<string,IMObject>
Defined in: packages/core/src/animation/player.ts:65
Object definitions keyed by id, for building snapshots.
onNonSeekable?
readonlyoptionalonNonSeekable?: (effectId,time) =>void
Defined in: packages/core/src/animation/player.ts:69
Called when a scrub crosses a non-seekable call boundary (?11.5).
Parameters
effectId
string
time
number
Returns
void
parents?
readonlyoptionalparents?:ReadonlyMap<string,string>
Defined in: packages/core/src/animation/player.ts:75
Transform-hierarchy parent links (child id ��� parent id), design.md ?9.3.
reactive?
readonlyoptionalreactive?:ReactiveEngine
Defined in: packages/core/src/animation/player.ts:71
Reactive engine for signal tracks and derived/updater flush (?8).
scene?
readonlyoptionalscene?:ReactiveSceneHost
Defined in: packages/core/src/animation/player.ts:73
Primary scene for reactive geometry rebuilds.
serialization?
readonlyoptionalserialization?:PlayerSerializationMeta
Defined in: packages/core/src/animation/player.ts:77
Serialization metadata (design.md ?17); attached by buildProgram.
viewports?
readonlyoptionalviewports?: readonlyViewportSnapshot[]
Defined in: packages/core/src/animation/player.ts:67
Viewports to include in every snapshot (M3/M5).