s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter