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
gamejams
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
Get s&box
Sign in with Steam
Api
Classes
SplatterData
chevron_left Classes
struct
SplatterData

Constructors

functionsSplatterData

Properties

data_objectCoverageRangedata_objectDecalsdata_objectDistancedata_objectFadeIndata_objectScale
SplatterData
Decals drawn behind a hit on this surface - traced on from the hit along the way it was travelling, onto whatever is within reach
struct Sandbox.Surface .
sealedSandbox.Engine

build Constructors 1

SplatterData ()

data_object Properties 5

CoverageRange
float
Softness of height coverage mask
Decals
List`1
Decals that will be drawn as splatter. You can include multiple decals which will be picked randomly per splatter.
Distance
float
How far past the hit to look for something to splatter onto.
FadeIn
float
How long the decal's height coverage takes to grow in. 0 shows it with no fade-in transition. Decals must have a valid heightmap to use this effect.
Scale
RangedFloat
How large these decals will be?
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