dao::lights::SunShare
struct
One object’s share of the sun, as the engine chooses its lights.
Declared in dao/Lights.h.
Fields
| Field | Type | |
|---|---|---|
chosen |
Chosen = Chosen::Unknown |
Which chooser is choosing the object’s lights. |
share |
float = 1.0F |
The share the object’s sun eases toward, which scales the sun’s colour for it. Vanilla’s until a callback sets it: 1, or 0.1 where the level’s walk grid has the object’s cell out of the sun. |
state |
std::uintptr_t = 0 |
The object’s light state, as OnAmbient and OnProbe have it. |