API ReferenceSandbox.Rendering

GradientFogSetupclass

Setup for defining gradient fog in a view

objectGradientFogSetup
Namespace
Sandbox.Rendering
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Rendering.GradientFogSetup

Methods1

Showing 1 methods

Properties9

Showing 9 properties

public float Sandbox.Rendering.GradientFogSetup.DistanceFalloffExponent { get; set; }PUBLICGETSET

The exponent controlling the distance-based falloff of the fog.

Returns:float

public bool Sandbox.Rendering.GradientFogSetup.Enabled { get; set; }PUBLICGETSET

Whether the fog is enabled.

Returns:bool

public float Sandbox.Rendering.GradientFogSetup.EndDistance { get; set; }PUBLICGETSET

End distance of the fog.

Returns:float

public float Sandbox.Rendering.GradientFogSetup.EndHeight { get; set; }PUBLICGETSET

The ending height of the gradient fog.

Returns:float

public float Sandbox.Rendering.GradientFogSetup.MaximumOpacity { get; set; }PUBLICGETSET

The maximum opacity of the gradient fog.

Returns:float

public float Sandbox.Rendering.GradientFogSetup.StartDistance { get; set; }PUBLICGETSET

Start distance of the fog.

Returns:float

public float Sandbox.Rendering.GradientFogSetup.StartHeight { get; set; }PUBLICGETSET

The starting height of the gradient fog.

Returns:float

public float Sandbox.Rendering.GradientFogSetup.VerticalFalloffExponent { get; set; }PUBLICGETSET

The exponent controlling the vertical falloff of the fog.

Returns:float

On this page