Api Sandbox CubemapFogController
class

CubemapFogController

public class CubemapFogController

Constructors

CubemapFogController()

Properties

Name Type Description
LodBias Single 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 Single The distance from the player at which the fog will start to fade in.
EndDistance Single The distance from the player at which the fog will be at full strength.
FalloffExponent Single Exponent for distance falloff. For example, 2.0 is proportional to square of distance.
HeightWidth Single The distance between the start of the height fog and where it is fully opaque. Setting this to 0 will disable height based blending.
HeightStart Single The absolute height in the map at which the height fog will start to fade in.
HeightExponent Single Exponent for height falloff. For example, 2.0 is proportional to square of distance.
Enabled Boolean Is this cubemap fog active?
Texture Texture Cubemap texture to use for the fog.
Transform Transform Location of the fog.
Tint Color Tint of the fog.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.CubemapFogController