Struct VolumetricFog.FogVolume ​
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
One env_volumetric_fog_volume.
csharp
public readonly record struct VolumetricFog.FogVolume : IEquatable<VolumetricFog.FogVolume>Implements ​
IEquatable<VolumetricFog.FogVolume>
Constructors ​
FogVolume(Vector3, Vector3, float, float, bool) ​
One env_volumetric_fog_volume.
csharp
public FogVolume(Vector3 Mins, Vector3 Maxs, float Strength, float FalloffExponent, bool IsSphere)Parameters ​
Mins Vector3
Corner of the box with the smallest coordinates.
Maxs Vector3
Corner of the box with the largest coordinates.
Strength float
Density in the center of the volume.
FalloffExponent float
Exponent of the falloff towards the edge.
IsSphere bool
Whether the falloff is radial, rather than towards the faces of the box.
Properties ​
FalloffExponent ​
Exponent of the falloff towards the edge.
csharp
public float FalloffExponent { get; init; }Property Value ​
float
IsSphere ​
Whether the falloff is radial, rather than towards the faces of the box.
csharp
public bool IsSphere { get; init; }Property Value ​
bool
Maxs ​
Corner of the box with the largest coordinates.
csharp
public Vector3 Maxs { get; init; }Property Value ​
Mins ​
Corner of the box with the smallest coordinates.
csharp
public Vector3 Mins { get; init; }Property Value ​
Strength ​
Density in the center of the volume.
csharp
public float Strength { get; init; }Property Value ​
float

