s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter