QtCraft API C++ classes QML types Handbook

QcEntityLight Struct

Light of an entity: sky light (scaled by daylight in the shader) and block light, both 0..1. More...

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

Public Functions

QcEntityLight()

Public Variables

float block
float sky

Detailed Description

Member Function Documentation

[constexpr noexcept default] QcEntityLight::QcEntityLight()

Default-constructs an instance of QcEntityLight.

Member Variable Documentation

float QcEntityLight::block

Block light in [0, 1].

float QcEntityLight::sky

Sky light in [0, 1].