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
Graphics
GradientFogSetup
chevron_left
Graphics
struct
GradientFogSetup
search
Properties
data_object
Color
data_object
DistanceFalloffExponent
data_object
Enabled
data_object
EndDistance
data_object
EndHeight
data_object
MaximumOpacity
data_object
StartDistance
data_object
StartHeight
data_object
VerticalFalloffExponent
Methods
functions
LerpTo
GradientFogSetup
Setup for defining gradient fog in a view
struct
Sandbox.Rendering
.
sealed
Sandbox.Engine
data_object
Properties
9
Color
Color
The color of the gradient fog.
DistanceFalloffExponent
float
The exponent controlling the distance-based falloff of the fog.
Enabled
bool
Whether the fog is enabled.
EndDistance
float
End distance of the fog.
EndHeight
float
The ending height of the gradient fog.
MaximumOpacity
float
The maximum opacity of the gradient fog.
StartDistance
float
Start distance of the fog.
StartHeight
float
The starting height of the gradient fog.
VerticalFalloffExponent
float
The exponent controlling the vertical falloff of the fog.
functions
Methods
1
LerpTo
(
desired
,
delta
,
clamp
)
GradientFogSetup
Lerp this GradientFogSetup to a another, allowing transition states.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.