UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FExponentialHeightFogData Struct Reference

#include <ExponentialHeightFogData.h>

Public Member Functions

void ClampToValidRanges ()
 

Public Attributes

float FogDensity = 0.02f
 
float FogHeightFalloff = 0.2f
 
float FogHeightOffset = 0.0f
 

Detailed Description

Data for an individual fog line integral. This is the data which is not shared between fogs when multiple fogs are set up on a single UExponentialHeightFogComponent

Member Function Documentation

◆ ClampToValidRanges()

void FExponentialHeightFogData::ClampToValidRanges ( )
inline

Clamp to valid ranges. This might be different from the UI clamp.

Member Data Documentation

◆ FogDensity

float FExponentialHeightFogData::FogDensity = 0.02f

Global density factor for this fog.

◆ FogHeightFalloff

float FExponentialHeightFogData::FogHeightFalloff = 0.2f

Height density factor, controls how the density increases as height decreases. Smaller values make the visible transition larger.

◆ FogHeightOffset

float FExponentialHeightFogData::FogHeightOffset = 0.0f

Height offset, relative to the actor position Z.


The documentation for this struct was generated from the following file: