API ReferenceSandbox
public sealed class Sandbox.SceneFogVolume
Represents a volume of fog in a scene, contributing to volumetric fog effects set on `Sandbox.SceneCamera.VolumetricFog`.
Constructors
Showing 1 constructors
public SceneFogVolume(Sandbox.SceneWorld world, Transform transform, BBox boundingBox, float fogStrength = 1, float falloffExponent = 1)
Parameters
fogStrength: Default: 1falloffExponent: Default: 1
No results match this filter.
Methods
Showing 1 methods
public void Delete()
Delete this fog volume. You shouldn't access it anymore.
No results match this filter.
Properties
Showing 5 properties
public BBox Sandbox.SceneFogVolume.BoundingBox { get; set; }
Defines the spatial boundaries of the fog volume.
public float Sandbox.SceneFogVolume.FalloffExponent { get; set; }
Controls how quickly the fog fades at the edges of the volume. Higher values give sharper transitions.
public float Sandbox.SceneFogVolume.FogStrength { get; set; }
The intensity of the fog. Higher values indicate denser fog.
public virtual sealed bool Sandbox.SceneFogVolume.IsValid { get; set; }
public Transform Sandbox.SceneFogVolume.Transform { get; set; }
The position and rotation of the fog volume in the scene.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SceneFogVolume |