Interface ClipOptions<K>

interface ClipOptions<K extends ClipStyle = ClipStyle> {
    duration?: number;
    effects?: {
        id: string;
        options: {
            fragmentSrc?: string;
            frameHeight: number;
            frameWidth: number;
            textureHeight: number;
            textureWidth: number;
            uniforms?: Record<string, unknown>;
        };
        sourceId: string;
    }[];
    filters?: { id: string; options: { lutUrl: string }; sourceId: string }[];
    id?: string;
    isVisible?: boolean;
    leftTrim?: number;
    mediaDataId?: string;
    rightTrim?: number;
    startTime?: number;
    style?: Partial<ReturnType<K["serialize"]>>;
    subtitlesId?: string;
    subtitlesOffset?: number;
    type?: string;
}

Type Parameters

Hierarchy (View Summary)

Properties

duration?: number
effects?: {
    id: string;
    options: {
        fragmentSrc?: string;
        frameHeight: number;
        frameWidth: number;
        textureHeight: number;
        textureWidth: number;
        uniforms?: Record<string, unknown>;
    };
    sourceId: string;
}[]
filters?: { id: string; options: { lutUrl: string }; sourceId: string }[]
id?: string
isVisible?: boolean
leftTrim?: number
mediaDataId?: string
rightTrim?: number
startTime?: number
style?: Partial<ReturnType<K["serialize"]>>
subtitlesId?: string
subtitlesOffset?: number
type?: string