|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One Legion spot light (MSLT). 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; must be <= attenuation_end. | |
| float | attenuationEnd = 0 |
| How far the light spreads. | |
| float | intensity = 0 |
| Light intensity. | |
| C3Vector | rotation {} |
| Rotation, radians. | |
| float | spotlightRadius = 0 |
| Spotlight cone radius. | |
| float | innerAngle = 0 |
| Inner cone angle, radians. | |
| float | outerAngle = 0 |
| Outer cone angle, radians. | |
| 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 spot light (MSLT).
Definition at line 123 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::attenuationEnd = 0 |
How far the light spreads.
Definition at line 137 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::attenuationStart = 0 |
Where the light's spread starts; must be <= attenuation_end.
Definition at line 134 of file records.hpp.
| CImVector wowlib::formats::wdt::lights::chunks::MapSpotLight::color {} |
Light color (b, g, r, a); alpha 0 means fully opaque.
Definition at line 128 of file records.hpp.
| std::uint32_t wowlib::formats::wdt::lights::chunks::MapSpotLight::id = 0 |
Unique light id within the WDT.
Definition at line 125 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::innerAngle = 0 |
Inner cone angle, radians.
Definition at line 149 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::intensity = 0 |
Light intensity.
Definition at line 140 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapSpotLight::mltaIndex = -1 |
Index into MLTA, or -1 when unanimated.
Definition at line 161 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::outerAngle = 0 |
Outer cone angle, radians.
Definition at line 152 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapSpotLight::position {} |
Light position.
Definition at line 131 of file records.hpp.
| C3Vector wowlib::formats::wdt::lights::chunks::MapSpotLight::rotation {} |
Rotation, radians.
Definition at line 143 of file records.hpp.
| float wowlib::formats::wdt::lights::chunks::MapSpotLight::spotlightRadius = 0 |
Spotlight cone radius.
Definition at line 146 of file records.hpp.
| std::int16_t wowlib::formats::wdt::lights::chunks::MapSpotLight::textureIndex = -1 |
Index into MTEX, or -1.
Definition at line 164 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapSpotLight::tileX = 0 |
The ADT tile x coordinate.
Definition at line 155 of file records.hpp.
| std::uint16_t wowlib::formats::wdt::lights::chunks::MapSpotLight::tileY = 0 |
The ADT tile y coordinate.
Definition at line 158 of file records.hpp.