Api Sandbox SceneFogVolume
class

SceneFogVolume

public sealed class SceneFogVolume

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

Constructors

SceneFogVolume(SceneWorld world, Transform transform, BBox boundingBox, Single fogStrength, Single falloffExponent)

Properties

Name Type Description
Transform Transform The position and rotation of the fog volume in the scene.
BoundingBox BBox Defines the spatial boundaries of the fog volume.
FogStrength Single The intensity of the fog. Higher values indicate denser fog.
FalloffExponent Single Controls how quickly the fog fades at the edges of the volume. Higher values give sharper transitions.
IsValid virtual Boolean

Methods

Void Delete()

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

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.SceneFogVolume