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
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | fogDensity | Default 0.02f. |
float | fogHeightFalloff | Default 0.2f. |
float | fogHeightOffset | World height the density is authored at. The actor's own height is added, so moving the actor moves the fog. Default 0.0f. |
float | startDistance | Default 0.0f. |
float | fogMaxOpacity | Default 1.0f. |
bool | inscatteringFromAtmosphere | Default true. |
Vec3 | fogInscatteringColor | Default Vec3(0.447f, 0.638f, 1.0f). |
Vec3 | directionalInscatteringColor | Default Vec3(0.25f, 0.24f, 0.21f). |
float | directionalInscatteringExponent | Default 4.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
ExponentialHeightFogComponent() = default | ExponentialHeightFogComponent |
Function details
ExponentialHeightFogComponent
C++
ExponentialHeightFogComponent() = defaultGenerated from Game/Components/ExponentialHeightFogComponent.h via game.json · Nov 5, 2026Version 1.0.0