AutoMovie API
    Preparing search index...

    Interface IAutoMovieEffectParticle

    One exact live billboard derived from a compiled effect stream.

    sampleCompiledEffect recomputes every field from the compiled effect seed, the spawn index and the sampled time, so a particle carries no state between samples and the same inputs give the same particle on every host.

    interface IAutoMovieEffectParticle {
        ageRatio: number;
        index: number;
        normal?: IAutoMovieVector3;
        opacity: number;
        position: IAutoMovieVector3;
        size: number;
    }
    Index
    ageRatio: number

    Age over this particle's seeded lifetime, within [0, 1); a particle at or past its lifetime is not emitted.

    index: number

    Stable zero-based spawn identity: burst particles take 0..burst-1 and regular spawns continue after them in emission order, so a renderer can key a billboard by it across samples.

    Optional fixed world surface normal for settled particles; absent means billboard.

    opacity: number

    Alpha seeded between the recipe's opacity bounds, scaled by the cue intensity and by sin(pi * ageRatio) so it fades in and out over the particle's life.

    World position in meters at the sampled step: a seeded point inside the effect bounds advanced by wind, rise and turbulence times the particle's age.

    size: number

    World billboard extent in metres. The recipe may grow the seeded initial size over the particle lifetime. On landing the extent stops growing and the retained stain uses its configured size multiplier.