s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
CubemapFogController
chevron_left Classes
class
CubemapFogController

Constructors

functionsCubemapFogController

Properties

data_objectEnableddata_objectEndDistancedata_objectFalloffExponentdata_objectHeightExponentdata_objectHeightStartdata_objectHeightWidthdata_objectLodBiasdata_objectStartDistancedata_objectTexturedata_objectTintdata_objectTransform
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter