Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
LightInfo Struct Reference

#include <content_mapblock.h>

Public Member Functions

LightPair getPair (float sunlight_boost=0.0) const
 

Public Attributes

float light_day
 
float light_night
 
float light_boosted
 

Member Function Documentation

◆ getPair()

LightPair LightInfo::getPair ( float sunlight_boost = 0.0) const
inline

References light_boosted, light_day, and light_night.

Referenced by MapblockMeshGenerator::drawAutoLightedCuboid().

+ Here is the caller graph for this function:

Member Data Documentation

◆ light_boosted

float LightInfo::light_boosted

Referenced by getPair().

◆ light_day

float LightInfo::light_day

Referenced by getPair().

◆ light_night

float LightInfo::light_night

Referenced by getPair().


The documentation for this struct was generated from the following file: