AutoMovie API
    Preparing search index...

    Interface IAutoMovieEffectSample

    One bounded deterministic effect sample.

    sampleCompiledEffect uses the requested time to decide membership in the cue's [start, end) window. The active state uses its fixed-step clock with a separate opening sample for cues that start between steps. Inactive samples have zero intensity and no particles.

    interface IAutoMovieEffectSample {
        active: boolean;
        intensity: number;
        particles: IAutoMovieEffectParticle[];
        time: number;
    }
    Index
    active: boolean

    Whether the requested time falls inside the cue's [start, end) window.

    intensity: number

    Cue intensity interpolated linearly from the cue's from to to across its window; 0 when inactive.

    Live particles in spawn order, keeping only spawns whose index is a multiple of four when the camera is beyond the recipe's LOD distance, and holding at most budget.maxParticles; empty when inactive.

    time: number

    State time in seconds. It ordinarily uses the fixed-step clock, with the active state's first and last instants bounded by the cue.