FExponentialHeightFogData

Syntax

struct FExponentialHeightFogData

Remarks

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

Variables

Name Description

Public variable

float

 

FogDensity

Global density factor for this fog.

Public variable

float

 

FogHeightFalloff

Height density factor, controls how the density increases as height decreases.

Public variable

float

 

FogHeightOffset

Height offset, relative to the actor position Z.

Functions

Name Description

Public function

void

 

ClampToValidRanges()

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

References

Module

Engine

Header

Runtime/Engine/Classes/Components/ExponentialHeightFogComponent.h