QtCraft API C++ classes QML types Handbook

QcBlockLightEngine::SectionUpdate Struct

struct QcBlockLightEngine::SectionUpdate

A new snapshot of one section's light. More...

Public Variables

QcChunkPos chunk
std::shared_ptr<const QcChunkLight::Section> light
int section

Detailed Description

Member Variable Documentation

QcChunkPos SectionUpdate::chunk

Position of the chunk.

std::shared_ptr<const QcChunkLight::Section> SectionUpdate::light

Null when the section is dark.

int SectionUpdate::section

Index of the section within the chunk (0 at the bottom).