|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One MOLT light. More...
#include <wowlib/formats/wmo/root/chunks/light.hpp>
Public Attributes | |
| std::uint8_t | type = 0 |
| The light kind; a LightType value. | |
| std::uint8_t | useAtten = 0 |
| Whether attenuation applies. | |
| std::array< std::uint8_t, 2 > | pad {} |
| Alignment padding; zero in client files. | |
| CImVector | color {} |
| Light color. | |
| C3Vector | position {} |
| Position in model space. | |
| float | intensity = 0 |
| Intensity. | |
| C4Quaternion | rotation {} |
| Orientation; spot/direct lights only. | |
| float | attenStart = 0 |
| Attenuation start distance. | |
| float | attenEnd = 0 |
| Attenuation end distance. | |
One MOLT light.
Not rendered by classic-era clients, but baked into vertex colors by the exporter.
| float wowlib::formats::wmo::root::chunks::SMOLight::attenEnd = 0 |
| float wowlib::formats::wmo::root::chunks::SMOLight::attenStart = 0 |
| CImVector wowlib::formats::wmo::root::chunks::SMOLight::color {} |
| float wowlib::formats::wmo::root::chunks::SMOLight::intensity = 0 |
| std::array<std::uint8_t, 2> wowlib::formats::wmo::root::chunks::SMOLight::pad {} |
| C3Vector wowlib::formats::wmo::root::chunks::SMOLight::position {} |
| C4Quaternion wowlib::formats::wmo::root::chunks::SMOLight::rotation {} |
| std::uint8_t wowlib::formats::wmo::root::chunks::SMOLight::type = 0 |
| std::uint8_t wowlib::formats::wmo::root::chunks::SMOLight::useAtten = 0 |