|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One Shadowlands point light (MPL3; replaces MPL2 in 9.0+ files). More...
#include <wowlib/formats/wdt/lights/chunks/records.hpp>
Public Attributes | |
| std::uint32_t | id = 0 |
| Unique light id within the WDT. | |
| CImVector | color {} |
| Light color (b, g, r, a); alpha 0 means fully opaque. | |
| C3Vector | position {} |
| Light position. | |
| float | attenuationStart = 0 |
| Where the light's spread starts. | |
| float | attenuationEnd = 0 |
| How far the light spreads. | |
| float | intensity = 0 |
| Light intensity. | |
| C3Vector | rotation {} |
| Rotation; only used to orient light-cookie projection. | |
| std::uint16_t | tileX = 0 |
| The ADT tile x coordinate. | |
| std::uint16_t | tileY = 0 |
| The ADT tile y coordinate. | |
| std::int16_t | mltaIndex = -1 |
| Index into MLTA, or -1 when unanimated. | |
| std::int16_t | textureIndex = -1 |
| Index into MTEX for the light-cookie texture, or -1. | |
| std::uint16_t | flags = 0 |
| Flags; 0x1 casts raytraced shadows (D3D12, shadow RT level 2+). | |
| std::uint16_t | scaleHalf = 0x3800 |
| Scale as a raw IEEE half-float (0.5 is the default; 10.0 hides player shadows). | |
One Shadowlands point light (MPL3; replaces MPL2 in 9.0+ files).
Definition at line 79 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight3::attenuationEnd = 0 |
How far the light spreads.
Definition at line 93 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight3::attenuationStart = 0 |
Where the light's spread starts.
Definition at line 90 of file records.hpp.
| CImVector wowlib::formats::wdt::lights::chunks::MapPointLight3::color {} |
Light color (b, g, r, a); alpha 0 means fully opaque.
Definition at line 84 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::flags = 0 |
Flags; 0x1 casts raytraced shadows (D3D12, shadow RT level 2+).
Definition at line 114 of file records.hpp.
| std::uint32_t wowlib::formats::wdt::lights::chunks::MapPointLight3::id = 0 |
Unique light id within the WDT.
Definition at line 81 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight3::intensity = 0 |
Light intensity.
Definition at line 96 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::mltaIndex = -1 |
Index into MLTA, or -1 when unanimated.
Definition at line 108 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapPointLight3::position {} |
Light position.
Definition at line 87 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapPointLight3::rotation {} |
Rotation; only used to orient light-cookie projection.
Definition at line 99 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::scaleHalf = 0x3800 |
Scale as a raw IEEE half-float (0.5 is the default; 10.0 hides player shadows).
Definition at line 117 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::textureIndex = -1 |
Index into MTEX for the light-cookie texture, or -1.
Definition at line 111 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::tileX = 0 |
The ADT tile x coordinate.
Definition at line 102 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight3::tileY = 0 |
The ADT tile y coordinate.
Definition at line 105 of file records.hpp.