API ReferenceSandbox.Rendering
GradientFogSetupclass
Setup for defining gradient fog in a view
object→GradientFogSetup
Methods1
Showing 1 methods
public Sandbox.Rendering.GradientFogSetup LerpTo(Sandbox.Rendering.GradientFogSetup desired, float delta, bool clamp = True)
Lerp this GradientFogSetup to a another, allowing transition states.
| Parameter | Type | Description |
|---|---|---|
| desired | GradientFogSetup | — |
| delta | float | — |
| clamp = True | bool | — |
No results match this filter.
Properties9
Showing 9 properties
public Color Sandbox.Rendering.GradientFogSetup.Color { get; set; }
The color of the gradient fog.
public float Sandbox.Rendering.GradientFogSetup.DistanceFalloffExponent { get; set; }
The exponent controlling the distance-based falloff of the fog.
Returns:
float—public bool Sandbox.Rendering.GradientFogSetup.Enabled { get; set; }
Whether the fog is enabled.
Returns:
bool—public float Sandbox.Rendering.GradientFogSetup.EndDistance { get; set; }
End distance of the fog.
Returns:
float—public float Sandbox.Rendering.GradientFogSetup.EndHeight { get; set; }
The ending height of the gradient fog.
Returns:
float—public float Sandbox.Rendering.GradientFogSetup.MaximumOpacity { get; set; }
The maximum opacity of the gradient fog.
Returns:
float—public float Sandbox.Rendering.GradientFogSetup.StartDistance { get; set; }
Start distance of the fog.
Returns:
float—public float Sandbox.Rendering.GradientFogSetup.StartHeight { get; set; }
The starting height of the gradient fog.
Returns:
float—public float Sandbox.Rendering.GradientFogSetup.VerticalFalloffExponent { get; set; }
The exponent controlling the vertical falloff of the fog.
Returns:
float—No results match this filter.