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
ClutterEntry
chevron_left
Classes
class
ClutterEntry
search
Constructors
functions
ClutterEntry
Properties
data_object
AssetName
data_object
HasAsset
data_object
Model
data_object
Prefab
data_object
Weight
ClutterEntry
Represents a single weighted entry in a Sandbox.Clutter.ClutterDefinition. Contains either a Prefab or Model reference along with spawn parameters.
class
Sandbox.Clutter
.
Sandbox.Engine
build
Constructors
1
ClutterEntry
(
)
data_object
Properties
5
AssetName
string
Returns the primary asset reference as a string for debugging.
HasAsset
bool
Returns whether this entry has a valid asset to spawn.
Model
Model
Model to spawn as a static prop. Only used if Sandbox.Clutter.ClutterEntry.Prefab is null.
Prefab
GameObject
Prefab to spawn. If set, this takes priority over Sandbox.Clutter.ClutterEntry.Model.
Weight
float
Relative weight for random selection. Higher values = more likely to be chosen.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.