RPE Chart Utils
    Preparing search index...

    Interface CreateVideoOptions

    Options for creating a video background.

    interface CreateVideoOptions {
        scale?: "cropCenter" | "inside" | "fit";
        alpha?: number | AnimatedVariable;
        dim?: number | AnimatedVariable;
        zIndex?: number;
        attach?: VideoAttach;
    }
    Index

    Properties

    scale?: "cropCenter" | "inside" | "fit"

    Scaling mode:

    • 'cropCenter' (default) — fill screen, cropping edges.
    • 'inside' — fit entire video inside screen.
    • 'fit' — stretch to fill.
    alpha?: number | AnimatedVariable

    Opacity, 0–1. Can be animated. Default: 1.

    dim?: number | AnimatedVariable

    Dimming amount, 0–1. Can be animated. Default: 0.3.

    zIndex?: number

    Z-order for the video layer.

    attach?: VideoAttach

    Attach the video to a judge line.