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
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
Components
ClutterComponent
chevron_left
Components
class
ClutterComponent
search
Constructors
functions
ClutterComponent
Properties
data_object
Bounds
data_object
Clutter
data_object
Infinite
data_object
Mode
data_object
Seed
data_object
Storage
Methods
functions
Clear
functions
ClearInfinite
functions
Generate
functions
InvalidateTileAt
functions
InvalidateTilesInBounds
menu
ClutterComponent
Clutter scattering component supporting both infinite and volumes.
class
Sandbox.Clutter
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
ClutterComponent
(
)
data_object
Properties
6
Bounds
BBox
Clutter
ClutterDefinition
The clutter containing objects to scatter and scatter settings.
Infinite
bool
Returns true if in infinite streaming mode.
Mode
ClutterMode
Clutter generation mode - Volume or Infinite streaming.
Seed
int
Seed for deterministic generation. Change to get different variations.
Storage
ClutterStorage
Storage for volume model instances. Serialized with component.
functions
Methods
5
Clear
(
)
ClearInfinite
(
)
Clears all infinite mode tiles for this component.
Generate
(
)
InvalidateTileAt
(
worldPosition
)
Invalidates the tile at the given world position, causing it to regenerate.
InvalidateTilesInBounds
(
bounds
)
Invalidates all tiles within the given bounds, causing them to regenerate.
Inheritance
Component
ClutterComponent
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.