canMoveClip | (clipId: string): boolean | Whether a clip can be moved by headless edit controls. |
canSlideClip | (clipId: string): boolean | Whether a clip can be slid by headless edit controls. |
canSlipClip | (clipId: string): boolean | Whether a clip can be slipped by headless edit controls. |
canTrimClip | (clipId: string): boolean | Whether a clip can be trimmed by headless edit controls. |
clips | clips: TimelineClipEntry<TrackKind>[] | Flattened timeline clips in track order. |
getClip | (clipId: string): { clip: Clip; clipIndex: number; track: Track; trackIndex: number } | undefined | Returns a clip lookup from the engine, including containing track and indexes. |
getClipAtPoint | (input: ClipHitTestInput): ClipHitTestResult | null | Hit-tests timeline clips in viewport coordinates. |
getClipRect | (clipId: string, geometry: TimelineInteractionGeometry = {}): ClipViewportRect | null | Returns the current viewport rectangle for a clip. |
getClipSourceRange | (clipIdOrClip: string | Clip): ClipSourceRange | undefined | Computes the source-media range covered by a clip. |
getClipSyncKey | (clipIdOrClip: string | Clip): string | undefined | Returns a stable sync key for timing-affecting clip fields. |
selectClip | (clipId: string | null): TimelineCommandResult | Selects a clip by id, or clears clip selection when passed null. |
selectedClip | selectedClip: Clip | null | Currently selected clip, or null when no clip is selected. |
selectedClipId | selectedClipId: string | null | ID of the currently selected clip, or null when no clip is selected. |
selectedClipIds | selectedClipIds: string[] | IDs of all selected clips in track order. |
selectedClips | selectedClips: Clip[] | All selected clips in track order. |
selectedClipTrackId | selectedClipTrackId: string | null | ID of the track containing the selected clip, or null when no clip is selected. |
selectedGroup | selectedGroup: TimelineClipGroup | null | Selected group when the primary selected clip belongs to one. |
selectedGroupId | selectedGroupId: string | null | Selected group id when the primary selected clip belongs to one. |
sourceTimeToTimelineTime | (clipIdOrClip: string | Clip, sourceTime: RationalTime): RationalTime | undefined | Maps a source-media timestamp within a clip back to timeline time. |
timelineTimeToSourceTime | (clipIdOrClip: string | Clip, timelineTime: RationalTime = ...): RationalTime | undefined | Maps a timeline timestamp within a clip to matching source-media time. |
updateClip | (clipId: string, properties: TimelineClipUpdate): TimelineCommandResult | Updates editable clip presentation fields. |