AutoMovie API
    Preparing search index...

    Interface IAutoMovieFluidSpray

    One bounded decorative spray emitter outside the conserved depth field.

    Seed and spawn index determine launch jitter; the supplied state/time and camera distance determine live positions and population. Samples retain no earlier result, and distance thinning precedes maxParticles.

    Particle i launches at i / rate domain-clock seconds and follows a ballistic arc under solver.gravity. Every live particle uses the nozzle height from the currently supplied cell free surface, rather than retained launch-time water history. Particles collide with neither bed, walls nor solid cells; validation requires a nonsolid in-grid emitter cell and a nonblank id unique among the domain's sprays.

    interface IAutoMovieFluidSpray {
        column: number;
        direction: IAutoMovieVector3;
        id: string;
        lifetime: number;
        lodDistance: number;
        maxParticles: number;
        rate: number;
        row: number;
        seed: number;
        size: number;
        speed: number;
        spread: number;
    }
    Index
    column: number

    Cell column the emitter sits in; 0 <= column < grid.columns.

    Launch direction; finite, not the zero vector, and need not be unit.

    id: string

    Stable emitter identity within the domain.

    lifetime: number

    Particle lifetime in seconds; finite and strictly positive.

    lodDistance: number

    Strictly positive finite metres per thinning level. Spawn indices must be divisible by 1 + floor(max(cameraDistance, 0) / lodDistance); distances below lodDistance thin nothing.

    maxParticles: number

    Hard live-particle cap per sample, a safe integer within [1, 4096], applied after distance thinning and retaining the newest survivors.

    rate: number

    Particles spawned per second; finite and strictly positive.

    row: number

    Cell row the emitter sits in; 0 <= row < grid.rows.

    seed: number

    Deterministic seed; any safe integer.

    size: number

    World billboard size of one particle in metres; finite and positive.

    speed: number

    Launch speed in m/s along direction; finite and >= 0.

    spread: number

    Symmetric per-axis jitter amplitude in [0, 1], added to the normalized launch direction before another normalization. Zero removes jitter; derived-direction degeneracies are not independently admitted.