AutoMovie API
    Preparing search index...

    Interface IAutoMovieFluidSource

    One declared inflow into a single cell.

    validateFluidDomain requires a nonsolid in-grid cell, a nonblank id unique among sources and finite authored numbers. simulateFluidDomain accumulates admitted flow in sourceVolume without capping it to current or design depth; derived accumulation limits remain those of IAutoMovieFluidState.

    interface IAutoMovieFluidSource {
        column: number;
        end: number | null;
        flowRate: number;
        id: string;
        row: number;
        start: number;
    }
    Index
    column: number

    Cell column receiving the water; 0 <= column < grid.columns.

    end: number | null

    End second strictly after start, or null for no end.

    flowRate: number

    Finite nonnegative inflow in cubic metres per second. Each active step requests the full flowRate * dt regardless of current depth; use a drain for outflow.

    id: string

    Stable source identity within the domain.

    row: number

    Cell row receiving the water; 0 <= row < grid.rows.

    start: number

    Nonnegative domain-clock start second; a step receives water when its start time satisfies start <= t < end.