Optionaloptions: SubtitlesOptionsInserts a subtitle block and updates dependent subtitle clips.
Subtitle block to insert.
Optionalindex: numberOptional insertion index. Defaults to appending at the end.
Creates a deep clone by round-tripping through serialized data.
Cloned subtitles asset.
Recomputes the subtitles duration from the current block list.
Removes a subtitle block by index and updates dependent subtitle clips.
Index of the block to remove.
Serializes the subtitles asset into project-safe data.
Serialized subtitles payload.
Replaces the entire subtitle block list.
New ordered subtitle blocks.
Pushes subtitle duration changes to every timeline clip linked to this subtitles asset.
Partially updates one subtitle block in place.
Index of the block to update.
Partial block fields to merge into the existing block.
Performs lightweight integrity checks on block ordering, timing, and overlap.
StaticdeserializeReconstructs a subtitles asset from serialized data.
Serialized subtitles payload.
Deserialized subtitles asset.
Library subtitles asset composed of ordered timed text blocks.
Besides storing subtitle content, this class keeps linked timeline subtitle clips in sync when blocks are edited, inserted, removed, or when duration changes as a result of content edits.