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
Classes
CubemapFogController
chevron_left
Classes
class
CubemapFogController
search
Constructors
functions
CubemapFogController
Properties
data_object
Enabled
data_object
EndDistance
data_object
FalloffExponent
data_object
HeightExponent
data_object
HeightStart
data_object
HeightWidth
data_object
LodBias
data_object
StartDistance
data_object
Texture
data_object
Tint
data_object
Transform
CubemapFogController
class
Sandbox
.
Sandbox.Engine
build
Constructors
1
CubemapFogController
(
)
data_object
Properties
11
Enabled
bool
Is this cubemap fog active?
EndDistance
float
The distance from the player at which the fog will be at full strength.
FalloffExponent
float
Exponent for distance falloff. For example, 2.0 is proportional to square of distance.
HeightExponent
float
Exponent for height falloff. For example, 2.0 is proportional to square of distance.
HeightStart
float
The absolute height in the map at which the height fog will start to fade in.
HeightWidth
float
The distance between the start of the height fog and where it is fully opaque. Setting this to 0 will disable height based blending.
LodBias
float
Adjust how quickly the cubemap blurs out at closer distances. A value of 0.0 always uses the lowest resolution MIP over the entire range, while a value of 1.0 uses the highest.
StartDistance
float
The distance from the player at which the fog will start to fade in.
Texture
Texture
Cubemap texture to use for the fog.
Tint
Color
Tint of the fog.
Transform
Transform
Location of the fog.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.