class
Scatterer
public abstract class Scatterer Base class to override if you want to create custom scatterer logic. Provides utility methods for entry selection and common operations.
Methods
List<ClutterInstance> Scatter(BBox bounds, ClutterDefinition clutter, Int32 seed, Scene scene = null) Public entry point for scattering. Creates Random from seed and calls Generate().
bounds — World-space bounds to scatter within clutter — The clutter containing objects to scatter seed — Seed for deterministic random generation scene — Scene to use for tracing (required in editor mode) returns — Collection of clutter instances to spawn
static Int32 GenerateSeed(Int32 baseSeed, Int32 x, Int32 y) Generates a deterministic seed from tile coordinates and base seed. Use this to create unique seeds for different tiles.