QcMovingLight Struct
A light that moves with what carries it (decision E-902): a torch in a hand, a glowing item on the ground, a firefly. More...
| Header: | #include <clientcore/light/QcMovingLights.h> |
Public Types
| enum class | Colour { Warm, Glow } |
Public Variables
Detailed Description
Only the realistic mode draws it, in the shaders; the block light of the world, the server and every rule of the game stay as they are.
Member Type Documentation
enum class QcMovingLight::Colour
The colour of the light: warm like the block light of torches, or the yellow-green glow of creatures (fireflies).
| Constant | Value | Description |
|---|---|---|
QcMovingLight::Colour::Warm | 0 | Like the block light of torches |
QcMovingLight::Colour::Glow | 1 | The yellow-green glow of creatures |
Member Variable Documentation
QcMovingLight::Colour QcMovingLight::colour
Colour of the light.
float QcMovingLight::level
Like a block light level: 0..15, one level less per block of distance.
QcVec3 QcMovingLight::position
Where the light shines from.