Interface

TimelineState

Represents the complete, serialized state model of the high performance timeline.

Signature

Type Definition
Interface TimelineState

Properties

NameSignatureDescription
clipDropFeedbackclipDropFeedback: TimelineClipDropFeedbackTransient cross-track clip drop feedback for the active body drag interaction.
contentRevisioncontentRevision: numberMonotonic counter incremented when track or clip edits can change active layer lookup at a fixed playhead.
duration?duration?: RationalTimeExplicit duration of the timeline. If set, this overrides the dynamic duration calculated from clips.
inPoint?inPoint?: RationalTimeOptional current selection region In-Point boundary.
markers?markers?: Marker[]List of markers positioned on the timeline.
outPoint?outPoint?: RationalTimeOptional current selection region Out-Point boundary.
playbackRate?playbackRate?: numberPlayback speed multiplier (1.0 = normal speed).
playheadTimeplayheadTime: RationalTimeThe current playhead position.
playing?playing?: booleanCurrent playback state of the timeline.
scrollLeftscrollLeft: numberHorizontal scroll offset in pixels.
scrollTopscrollTop: numberVertical scroll offset in pixels.
snapEnabledsnapEnabled: booleanWhether magnetic snapping is globally enabled.
snapFeedbacksnapFeedback: TimelineSnapFeedbackTransient snap guide feedback for the active interaction.
snapThresholdPixelssnapThresholdPixels: numberMagnetic snap radius in screen pixels.
trackstracks: Track<string>[]Active set of tracks.
viewportHeight?viewportHeight?: numberHeight of the visible timeline area in pixels (for frustum culling/virtualization).
viewportWidth?viewportWidth?: numberWidth of the visible timeline area in pixels (for frustum culling/virtualization).
zoomScalezoomScale: numberZoom scale representing pixels per second.