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. |
deleteClip | (clipId: string): TimelineCommandResult | Deletes a clip from its containing track. |
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. |
moveClip | (options: TimelineClipMoveOptions): TimelineCommandResult<TimelineClipMoveResult> | Moves a clip to an absolute timeline start time and optional destination track. |
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. |
selectedClipTrackId | selectedClipTrackId: string | null | ID of the track containing the selected clip, or null when no clip is selected. |
slideClip | (clipId: string, deltaTime: RationalTime): TimelineCommandResult | Moves the clip on the timeline by a relative delta. |
slipClip | (clipId: string, deltaTime: RationalTime): TimelineCommandResult | Moves the visible source range without changing the timeline range. |
sourceTimeToTimelineTime | (clipIdOrClip: string | Clip, sourceTime: RationalTime): RationalTime | undefined | Maps a source-media timestamp within a clip back to timeline time. |
splitClip | (clipId: string, time?: RationalTime): TimelineCommandResult | Splits a clip at a timeline time, defaulting to the current playhead. |
timelineTimeToSourceTime | (clipIdOrClip: string | Clip, timelineTime: RationalTime = ...): RationalTime | undefined | Maps a timeline timestamp within a clip to matching source-media time. |
trimClip | (clipId: string, edge: "start" | "end", newTime: RationalTime): TimelineCommandResult | Trims one clip edge to an absolute timeline time. |
updateClip | (clipId: string, properties: TimelineClipUpdate): TimelineCommandResult | Updates editable clip presentation fields. |