Function: sampleSectionLight()
ts
function sampleSectionLight(light, index): SavedLightSample | undefined;Defined in: packages/minerender/src/world/WorldLight.ts:30
Reads a cell in x + 16z + 256y order. Missing section data remains distinct from saved darkness.
Parameters
| Parameter | Type |
|---|---|
light | SectionLightData | undefined |
index | number |
Returns
SavedLightSample | undefined