AutoMovie API
    Preparing search index...

    Interface IAutoMovieFluidSprayParticle

    One decorative spray particle returned by sampleFluidSpray at the sampled step.

    buildFluidSprayObject copies position, size and ageRatio into Float32 point attributes. The stock PointsMaterial uses one fixed point size and opacity; a supplied shader must consume aSize/aAge for those particle values to affect appearance.

    interface IAutoMovieFluidSprayParticle {
        ageRatio: number;
        index: number;
        position: IAutoMovieVector3;
        size: number;
        spray: string;
    }
    Index
    ageRatio: number

    Age divided by lifetime; the live-window rule targets [0, 1), without independently clamping or validating the resulting ratio.

    index: number

    Zero-based spawn identity within the emitter, with launch time index / rate in domain-clock seconds. Extreme time/rate products must remain representable for distinct integer identities.

    World position in metres at the sampled step, on its ballistic arc.

    size: number

    World billboard size in metres, copied from the emitter.

    spray: string

    Id of the emitter that spawned it.