SceneFogVolumeclass

Represents a volume of fog in a scene, contributing to volumetric fog effects set on `Sandbox.SceneCamera.VolumetricFog`.

objectSceneFogVolume
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.SceneFogVolume

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public void Delete()PUBLIC

Delete this fog volume. You shouldn't access it anymore.

Returns:void

Properties6

Showing 6 properties

public BBox Sandbox.SceneFogVolume.BoundingBox { get; set; }PUBLICGETSET

Defines the spatial boundaries of the fog volume.

Returns:BBox

public Color Sandbox.SceneFogVolume.Color { get; set; }PUBLICGETSET

Tint applied to the in-scattered light inside this fog volume.

Returns:Color

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

Controls how quickly the fog fades at the edges of the volume. Higher values give sharper transitions.

Returns:float

public float Sandbox.SceneFogVolume.FogStrength { get; set; }PUBLICGETSET

The intensity of the fog. Higher values indicate denser fog.

Returns:float

public virtual sealed bool Sandbox.SceneFogVolume.IsValid { get; set; }PUBLICVIRTUALGETSET

Returns:bool

On this page