wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wmo::root::chunks::SMOFog Struct Reference

One MFOG entry: a fog volume with regular and under-water settings. More...

#include <wowlib/formats/wmo/root/chunks/environment.hpp>

Classes

struct  Fog
 One fog band: end distance, start scalar and color. More...

Public Attributes

std::uint32_t flags = 0
 0x1: infinite radius (interior/exterior blend fog).
C3Vector position {}
 Fog volume center.
float smallerRadius = 0
 Inner radius (full fog).
float largerRadius = 0
 Outer radius (fog starts).
Fog fog {}
 The regular fog band.
Fog underWaterFog {}
 The under-water fog band.

Detailed Description

One MFOG entry: a fog volume with regular and under-water settings.

Definition at line 22 of file environment.hpp.

Member Data Documentation

◆ flags

std::uint32_t wowlib::formats::wmo::root::chunks::SMOFog::flags = 0

0x1: infinite radius (interior/exterior blend fog).

Definition at line 42 of file environment.hpp.

◆ fog

Fog wowlib::formats::wmo::root::chunks::SMOFog::fog {}

The regular fog band.

Definition at line 54 of file environment.hpp.

◆ largerRadius

float wowlib::formats::wmo::root::chunks::SMOFog::largerRadius = 0

Outer radius (fog starts).

Definition at line 51 of file environment.hpp.

◆ position

C3Vector wowlib::formats::wmo::root::chunks::SMOFog::position {}

Fog volume center.

Definition at line 45 of file environment.hpp.

◆ smallerRadius

float wowlib::formats::wmo::root::chunks::SMOFog::smallerRadius = 0

Inner radius (full fog).

Definition at line 48 of file environment.hpp.

◆ underWaterFog

Fog wowlib::formats::wmo::root::chunks::SMOFog::underWaterFog {}

The under-water fog band.

Definition at line 57 of file environment.hpp.


The documentation for this struct was generated from the following file: