Skip to content

@modoki/engine / index / TimelineDef

Interface: TimelineDef ​

Timeline ​

duration ​

duration: number

Total length in seconds; the Director playhead clamps/loops against this.


frameRate ​

frameRate: number

Authoring sample rate, used for frame snapping in the editor.


id ​

id: string

Stable GUID — mirrors the .meta.json sidecar id.


name ​

name: string


tracks ​

tracks: TrackDef[]

Built with Modoki.