|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
#include <wowlib/formats/wmo/root/chunks/light.hpp>
Public Attributes | |
| std::int32_t | type = 0 |
| 0 = point light (sphere), 1 = spot light (cone). | |
| std::int32_t | lightIndex = 0 |
| Index of this light in the MNLD array. | |
| std::int32_t | flags = 0 |
| 0x1: blend outer and inner color; 0x2: casts shadows. | |
| std::int32_t | doodadSet = 0 |
| The doodad set this light belongs to. | |
| CImVector | innerColor {} |
| Inner color. | |
| C3Vector | position {} |
| Position in the WMO. | |
| C3Vector | rotation {} |
| Euler rotation in radians; rotates the light (spot) or its cookie (point). | |
| float | attenStart = 0 |
| Attenuation start distance. | |
| float | attenEnd = 0 |
| Attenuation end distance. | |
| float | intensity = 0 |
| Light intensity. | |
| CImVector | outerColor {} |
| Outer color; used with flag 0x1. | |
| float | blendStart = 0 |
| Gradient start distance for inner/outer blending (flag 0x1). | |
| float | blendEnd = 0 |
| Gradient end distance for inner/outer blending (flag 0x1). | |
| std::array< std::uint8_t, 4 > | gap1 {} |
| Empty gap in the client layout. | |
| float | flickerIntensity = 0 |
| Flickering intensity. | |
| float | flickerSpeed = 0 |
| Flickering speed. | |
| float wowlib::formats::wmo::root::chunks::NewLight::attenEnd = 0 |
| float wowlib::formats::wmo::root::chunks::NewLight::attenStart = 0 |
| float wowlib::formats::wmo::root::chunks::NewLight::blendEnd = 0 |
| float wowlib::formats::wmo::root::chunks::NewLight::blendStart = 0 |
| std::int32_t wowlib::formats::wmo::root::chunks::NewLight::doodadSet = 0 |
| std::int32_t wowlib::formats::wmo::root::chunks::NewLight::flags = 0 |
| float wowlib::formats::wmo::root::chunks::NewLight::flickerIntensity = 0 |
| float wowlib::formats::wmo::root::chunks::NewLight::flickerSpeed = 0 |
| std::array<std::uint8_t, 4> wowlib::formats::wmo::root::chunks::NewLight::gap1 {} |
| CImVector wowlib::formats::wmo::root::chunks::NewLight::innerColor {} |
| float wowlib::formats::wmo::root::chunks::NewLight::intensity = 0 |
| std::int32_t wowlib::formats::wmo::root::chunks::NewLight::lightIndex = 0 |
| CImVector wowlib::formats::wmo::root::chunks::NewLight::outerColor {} |
| C3Vector wowlib::formats::wmo::root::chunks::NewLight::position {} |
| C3Vector wowlib::formats::wmo::root::chunks::NewLight::rotation {} |
| std::int32_t wowlib::formats::wmo::root::chunks::NewLight::type = 0 |