class
SlopeScatterer
public class SlopeScatterer : Scatterer Scatterer that filters and selects assets based on the slope angle of the surface. Useful for placing different vegetation or rocks on flat vs steep terrain.
Constructors
SlopeScatterer() Properties
| Name | Type | Description |
|---|---|---|
Scale | RangedFloat | Scale range for spawned objects. |
Density | Single | Points per square meter (density). |
HeightOffset | Single | Offset from ground surface. |
AlignToNormal | Boolean | Align objects to surface normal. |
Mappings | List<SlopeMapping> | Define which entries spawn at which slope angles. |
UseFallback | Boolean | Use random clutter entry if no slope mapping matches. |