s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
SlopeScatterer
chevron_left
Classes
class
SlopeScatterer
search
Constructors
functions
SlopeScatterer
Properties
data_object
AlignToNormal
data_object
Density
data_object
HeightOffset
data_object
Mappings
data_object
Scale
data_object
UseFallback
Methods
lock
Generate
SlopeScatterer
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.
class
Sandbox.Clutter
.
account_tree
extends
Scatterer
Sandbox.Engine
build
Constructors
1
SlopeScatterer
(
)
data_object
Properties
6
AlignToNormal
bool
Align objects to surface normal.
Density
float
Points per square meter (density).
HeightOffset
float
Offset from ground surface.
Mappings
List`1
Define which entries spawn at which slope angles.
Scale
RangedFloat
Scale range for spawned objects.
UseFallback
bool
Use random clutter entry if no slope mapping matches.
functions
Methods
1
Generate
(
bounds
,
clutter
,
scene
)
List`1
Inheritance
Scatterer
SlopeScatterer
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.