CubemapFogControllerclass

objectCubemapFogController
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.CubemapFogController

Constructors1

Showing 1 constructors

Properties11

Showing 11 properties

public bool Sandbox.CubemapFogController.Enabled { get; set; }PUBLICGETSET

Is this cubemap fog active?

Returns:bool

public float Sandbox.CubemapFogController.EndDistance { get; set; }PUBLICGETSET

The distance from the player at which the fog will be at full strength.

Returns:float

public float Sandbox.CubemapFogController.FalloffExponent { get; set; }PUBLICGETSET

Exponent for distance falloff. For example, 2.0 is proportional to square of distance.

Returns:float

public float Sandbox.CubemapFogController.HeightExponent { get; set; }PUBLICGETSET

Exponent for height falloff. For example, 2.0 is proportional to square of distance.

Returns:float

public float Sandbox.CubemapFogController.HeightStart { get; set; }PUBLICGETSET

The absolute height in the map at which the height fog will start to fade in.

Returns:float

public float Sandbox.CubemapFogController.HeightWidth { get; set; }PUBLICGETSET

The distance between the start of the height fog and where it is fully opaque. Setting this to 0 will disable height based blending.

Returns:float

public float Sandbox.CubemapFogController.LodBias { get; set; }PUBLICGETSET

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.

Returns:float

public float Sandbox.CubemapFogController.StartDistance { get; set; }PUBLICGETSET

The distance from the player at which the fog will start to fade in.

Returns:float

On this page