struct

ExponentialHeightFogComponent

UE5's ExponentialHeightFog: distance fog whose density falls off exponentially with height. Density and falloff use UE's authoring scale (density 0.02 thins to a third over a kilometre at the fog height), and the in-scattering colour follows the sky when the scene has an atmosphere.

Module
Game
Header
#include "Game/Components/ExponentialHeightFogComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
floatfogDensityDefault 0.02f.
floatfogHeightFalloffDefault 0.2f.
floatfogHeightOffsetWorld height the density is authored at. The actor's own height is added, so moving the actor moves the fog. Default 0.0f.
floatstartDistanceDefault 0.0f.
floatfogMaxOpacityDefault 1.0f.
boolinscatteringFromAtmosphereDefault true.
Vec3fogInscatteringColorDefault Vec3(0.447f, 0.638f, 1.0f).
Vec3directionalInscatteringColorDefault Vec3(0.25f, 0.24f, 0.21f).
floatdirectionalInscatteringExponentDefault 4.0f.

Constructors

SignatureNameDescription
ExponentialHeightFogComponent() = defaultExponentialHeightFogComponent

Function details

ExponentialHeightFogComponent

C++
ExponentialHeightFogComponent() = default
Generated from Game/Components/ExponentialHeightFogComponent.h via game.json · Nov 5, 2026Version 1.0.0