ludus::content::procedural::ScatterRecipe¶
Ludus Wiki · API overview · Browse API
Struct
Validated input for one room. The recipe borrows its arrays; the caller keeps them alive.
#include <ludus/content/procedural/environment/scatter.h>
struct ludus::content::procedural::ScatterRecipe final
Fields¶
Room¶
uint16 ludus::content::procedural::ScatterRecipe::Room = 0
Nonzero room ordinal.
Related types: uint16
Region¶
ScatterRectangle ludus::content::procedural::ScatterRecipe::Region
Area that candidate positions must lie in; must be nonempty.
Related types: ScatterRectangle
KeepOuts¶
foundation::BorrowedView<const ScatterRectangle> ludus::content::procedural::ScatterRecipe::KeepOuts
Areas candidate positions must avoid, at most MAX_SCATTER_KEEP_OUTS; each must be nonempty.
Related types: foundation::BorrowedView · ScatterRectangle
Layers¶
foundation::BorrowedView<const ScatterLayer> ludus::content::procedural::ScatterRecipe::Layers
Layers, 1 through MAX_SCATTER_LAYERS.
Related types: foundation::BorrowedView · ScatterLayer