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

One MBVD entry (8.3+): a box-shaped ambient volume bounded by six planes. More...

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

Public Attributes

std::array< C4Plane, 6 > planes {}
 The six bounding planes (position and start combined).
float end = 0
 Outer distance.
CImVector color1 {}
 Primary ambient color.
CImVector color2 {}
 Secondary ambient color.
CImVector color3 {}
 Tertiary ambient color.
std::uint32_t flags = 0
 0x1: blend color_2 and color_3.
std::uint16_t doodadSetId = 0
 The doodad set this volume applies to.
std::array< std::uint8_t, 10 > unknown {}
 Undeciphered remainder of the record.

Detailed Description

One MBVD entry (8.3+): a box-shaped ambient volume bounded by six planes.

Only read when MAVG or MAVD is present.

Definition at line 107 of file environment.hpp.

Member Data Documentation

◆ color1

CImVector wowlib::formats::wmo::root::chunks::AmbientBoxVolume::color1 {}

Primary ambient color.

Definition at line 115 of file environment.hpp.

◆ color2

CImVector wowlib::formats::wmo::root::chunks::AmbientBoxVolume::color2 {}

Secondary ambient color.

Definition at line 118 of file environment.hpp.

◆ color3

CImVector wowlib::formats::wmo::root::chunks::AmbientBoxVolume::color3 {}

Tertiary ambient color.

Definition at line 121 of file environment.hpp.

◆ doodadSetId

std::uint16_t wowlib::formats::wmo::root::chunks::AmbientBoxVolume::doodadSetId = 0

The doodad set this volume applies to.

Definition at line 127 of file environment.hpp.

◆ end

float wowlib::formats::wmo::root::chunks::AmbientBoxVolume::end = 0

Outer distance.

Definition at line 112 of file environment.hpp.

◆ flags

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

0x1: blend color_2 and color_3.

Definition at line 124 of file environment.hpp.

◆ planes

std::array<C4Plane, 6> wowlib::formats::wmo::root::chunks::AmbientBoxVolume::planes {}

The six bounding planes (position and start combined).

Definition at line 109 of file environment.hpp.

◆ unknown

std::array<std::uint8_t, 10> wowlib::formats::wmo::root::chunks::AmbientBoxVolume::unknown {}

Undeciphered remainder of the record.

Definition at line 130 of file environment.hpp.


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