API ReferenceSandbox.Rendering
public sealed struct Sandbox.Rendering.GradientFogSetup
Setup for defining gradient fog in a view
Methods
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.
Parameters
clamp: Default: True
No results match this filter.
Properties
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.
public bool Sandbox.Rendering.GradientFogSetup.Enabled { get; set; }
Whether the fog is enabled.
public float Sandbox.Rendering.GradientFogSetup.EndDistance { get; set; }
End distance of the fog.
public float Sandbox.Rendering.GradientFogSetup.EndHeight { get; set; }
The ending height of the gradient fog.
public float Sandbox.Rendering.GradientFogSetup.MaximumOpacity { get; set; }
The maximum opacity of the gradient fog.
public float Sandbox.Rendering.GradientFogSetup.StartDistance { get; set; }
Start distance of the fog.
public float Sandbox.Rendering.GradientFogSetup.StartHeight { get; set; }
The starting height of the gradient fog.
public float Sandbox.Rendering.GradientFogSetup.VerticalFalloffExponent { get; set; }
The exponent controlling the vertical falloff of the fog.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Rendering |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Rendering.GradientFogSetup |