|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One Legion point light (MPL2). More...
#include <wowlib/formats/wdt/lights/chunks/records.hpp>
Public Attributes | |
| std::uint32_t | id = 0 |
| Unique light id within the WDT; increment for each new light. | |
| 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; usually 0. | |
| float | attenuationEnd = 0 |
| How far the light spreads. | |
| float | intensity = 0 |
| Light intensity. | |
| C3Vector | rotation {} |
| Rotation; usually zero for point lights. | |
| 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, or -1. | |
One Legion point light (MPL2).
Definition at line 41 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight::attenuationEnd = 0 |
How far the light spreads.
Definition at line 55 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight::attenuationStart = 0 |
Where the light's spread starts; usually 0.
Definition at line 52 of file records.hpp.
| CImVector wowlib::formats::wdt::lights::chunks::MapPointLight::color {} |
Light color (b, g, r, a); alpha 0 means fully opaque.
Definition at line 46 of file records.hpp.
| std::uint32_t wowlib::formats::wdt::lights::chunks::MapPointLight::id = 0 |
Unique light id within the WDT; increment for each new light.
Definition at line 43 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapPointLight::intensity = 0 |
Light intensity.
Definition at line 58 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapPointLight::mltaIndex = -1 |
Index into MLTA, or -1 when unanimated.
Definition at line 70 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapPointLight::position {} |
Light position.
Definition at line 49 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapPointLight::rotation {} |
Rotation; usually zero for point lights.
Definition at line 61 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapPointLight::textureIndex = -1 |
Index into MTEX, or -1.
Definition at line 73 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight::tileX = 0 |
The ADT tile x coordinate.
Definition at line 64 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapPointLight::tileY = 0 |
The ADT tile y coordinate.
Definition at line 67 of file records.hpp.