s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
ClutterDefinition
chevron_left Classes
class
ClutterDefinition

Constructors

functionsClutterDefinition

Properties

data_objectEntriesdata_objectIsEmptydata_objectScattererdata_objectTileRadiusdata_objectTileSizedata_objectTileSizeEnum

Methods

lockCreateAssetTypeIcon
ClutterDefinition
A weighted collection of Prefabs and Models for random selection during clutter placement.
class Sandbox.Clutter .account_tree extends GameResource
Sandbox.Engine

build Constructors 1

ClutterDefinition ()

data_object Properties 6

Entries
List`1
List of weighted entries
IsEmpty
bool
Scatterer
AnyOfType`1
TileRadius
int
Number of tiles to generate around the camera in each direction. Higher values = more visible range but more memory usage.
TileSize
float
Gets the tile size as a float value.
TileSizeEnum
TileSizeOption
Size of each tile in world units for infinite streaming mode.

functions Methods 1

CreateAssetTypeIcon (width, height)
Bitmap

Inheritance

Resource
GameResource
ClutterDefinition
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter