Class SubtitlesClip

Hierarchy (View Summary)

Constructors

Properties

animationController: (Anonymous class)<Sprite, ClipStyle<Sprite>>
id: string
sprite: Sprite
state: ClipState

Methods

  • Returns {
        animationController?: {
            animationDataIn?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationDataLoop?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string
                        | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationDataOut?: {
                amplification?: number;
                inOutOfRange: OutOfRangeEnum;
                name: string;
                offset?: number;
                outOutOfRange: OutOfRangeEnum;
                propertyAnimations: {
                    inOutOfRange: OutOfRangeEnum;
                    keyframes: {
                        easing: EasingEnum;
                        relativeProperty?: string;
                        space: AnimationSpaceEnum;
                        time: number;
                        value: string
                        | number;
                    }[];
                    outOutOfRange: OutOfRangeEnum;
                    property: string;
                }[];
                speed?: number;
            };
            animationInDuration?: number;
            animationLoopCount?: number;
            animationOutDuration?: number;
            loopSmoothing?: number;
        };
        clipMasks?: { clipId: string; id: string; wrapMode: MaskWrapModeEnum }[];
        customData?: [string, unknown][];
        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?: unknown;
        subtitlesId?: string;
        subtitlesOffset: number;
        text?: string;
        type: string;
        wrapMode?: CLAMP | REPEAT | PING_PONG | EMPTY;
    }