API Sandbox Clutter
namespace

Sandbox.Clutter

11 types

Classes

Type Name Description
class ClutterComponent Clutter scattering component supporting both infinite and volumes.
class ClutterDefinition A weighted collection of Prefabs and Models for random selection during clutter placement.
class ClutterEntry Represents a single weighted entry in a ClutterDefinition. Contains either a Prefab or Model reference along with spawn
class ClutterGridSystem Game object system that manages clutter generation. Handles infinite streaming layers and executes generation jobs.
class Scatterer Base class to override if you want to create custom scatterer logic. Provides utility methods for entry selection and co
class SimpleScatterer
class SlopeMapping Maps an clutter entry to a slope angle range.
class SlopeScatterer Scatterer that filters and selects assets based on the slope angle of the surface. Useful for placing different vegetati
class TerrainMaterialMapping Maps a terrain material to a list of clutter entries that can spawn on it.
class TerrainMaterialScatterer Scatterer that selects assets based on the terrain material at the hit position. Useful for placing different vegetation

Structs

Type Name Description
struct ClutterInstance Represents a single clutter instance to be spawned.