FExponentialHeightFogData

Data for an individual fog line integral.

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback