MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / FogData

Class FogData

Engine/source/scene/fogStructs.h:27–41  ·  view source on GitHub ↗

The aerial fog settings.

Source from the content-addressed store, hash-verified

25
26/// The aerial fog settings.
27struct FogData
28{
29 F32 density;
30 F32 densityOffset;
31 F32 atmosphereHeight;
32 LinearColorF color;
33
34 FogData()
35 {
36 density = 0.0f;
37 densityOffset = 0.0f;
38 atmosphereHeight = 0.0f;
39 color.set( 0.5f, 0.5f, 0.5f, 1.0f );
40 }
41};
42
43
44/// The water fog settings.

Callers 3

renderWorldMethod · 0.85
renderWorldMethod · 0.85
renderWorldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected