QtCraft API C++ classes QML types Handbook

QcPackedLights Struct

The moving lights as the shaders take them (the frame uniforms, decision E-902). More...

Header: #include <clientcore/light/QcMovingLights.h>

Public Variables

int count
std::array<std::array<float, 4>, QcRenderOptions::maxMovingLights> lights

Detailed Description

Member Variable Documentation

int QcPackedLights::count

Number of lights used in lights.

std::array<std::array<float, 4>, QcRenderOptions::maxMovingLights> QcPackedLights::lights

xyz relative to the camera, w the level (0..15, below 16) plus 16 times the colour.