Skip to content

trimClipDef beta ​

Function of @v12-engine/editor

ts
export declare function trimClipDef(def: ClipDef | undefined, length: number, from: number, to: number): ClipDef | undefined;

What a model says of a clip (ClipDef) once the clip is trimmed to a stretch of it: a mark inside the stretch at its share of the new clip, one outside dropped; the loop the same, gone where it would be empty. length is the clip's before the trim