AutoMovie API
    Preparing search index...

    Interface IAutoMovieRenderWaterBody

    One declared water body and whatever a solver has proved about it.

    interface IAutoMovieRenderWaterBody {
        cells: number | null;
        domain: IAutoMovieFluidDomain | null;
        id: string;
        material: string | null;
        nodes: string[];
        owner: string | null;
        particles: number | null;
    }
    Index
    cells: number | null

    Simulation cell count proved by a solver outside this repository, or null when none ran. Ignored when domain is present.

    domain: IAutoMovieFluidDomain | null

    The shallow-water domain filling this body, or null when none exists.

    When present it is authoritative and cells and particles are ignored: the grid states the cell count exactly and the emitters state the particle cap, so a number derived from the record cannot drift from the record the way a hand-copied one does. It also carries the drawn free surface, one vertex per cell, into the geometry metrics.

    id: string

    Stable water-body id.

    material: string | null

    Material id the free surface is drawn with, or null for the renderer's own default. Ignored when domain is null, because a body with no domain draws no surface of its own here.

    nodes: string[]

    Scene node ids that draw the water surface, if any.

    These are ordinary staged nodes and are already counted as such, so a body drawn by a bound domain's own free surface names none here: listing both would bill the same water twice.

    owner: string | null

    Semantic id of the owning building space, or null when unowned.

    particles: number | null

    Live particle count proved by such a solver, or null when none ran.