s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
SplatterData
chevron_left
Classes
struct
SplatterData
Constructors
functions
SplatterData
Properties
data_object
CoverageRange
data_object
Decals
data_object
Distance
data_object
FadeIn
data_object
Scale
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
.
sealed
Sandbox.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.