s&box docs
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

Properties

Showing 9 properties

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.

Metadata

FieldValue
NamespaceSandbox.Rendering
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Rendering.GradientFogSetup

On this page