AutoMovie API
    Preparing search index...

    Interface IAutoMovieBuiltPopulation

    One compact population of repeated members standing in one logical space.

    A population pairs a logical-space id with the thing itself, as IAutoMovieBuiltSurface does, so it is a building fact with an owner rather than a world fact that happens to overlap a building. The set is held by value and lowered to the production world as the same instance set, so one placement law serves both the render and every building query, and no second record of the population's world extent exists to drift from it.

    interface IAutoMovieBuiltPopulation {
        prototypeBounds: { max: IAutoMovieVector3; min: IAutoMovieVector3 };
        set: IAutoMovieInstanceSetDesign;
        space: string;
    }
    Index
    prototypeBounds: { max: IAutoMovieVector3; min: IAutoMovieVector3 }

    Conservative occupied box of every selectable prototype, in model-local metres before a slot's rotation, scale, and placement are applied.

    The set names model groups that the building record does not contain, so a spatial query cannot measure their meshes; this authored box is the basis it measures instead. It is one union for the default model and every weighted prototype. The engine derives the world box from it and the set's placement law, so changing an anchor, heading, spacing, or scale needs no edit here, but changing the default model or a weighted prototype does: nothing re-measures the models against this box.

    A collapsed axis and a point box are valid and describe flat or degenerate geometry; only an inverted or non-finite box is invalid.

    Type Declaration

    The compact set that places every member of this population; its id is the population's identity, unique within the environment.

    Every layout except along-route may be used. A route is a production-world fact this record holds no field to reach, so a population whose members follow a route belongs to the world rather than to a building space, and validation refuses it.

    space: string

    The one logical space this population occupies.

    Exactly one, and the smallest declared space that contains the whole population. A slate field covering an entire roof therefore names the building's own space rather than the rooms beneath it, so "what is in this room" excludes the slate above its ceiling. A field that runs through two rooms is authored as two populations, one per room.

    Validation only checks that the id resolves; choosing the smallest containing space is the author's obligation, and space queries trust the declared id, folding it into every ancestor, instead of testing member positions.