DecayKnowledgebase
functiongenerated

Lighting.level

How bright it is at a world point (Vec2): the luminance of the ambient plus every light reaching it, shadows applied. 0 is dark, 1 is a white light at full strength, and overlapping lights add past 1.

Signature

Lighting.level(point: Vec2) -> number

Member of Lighting

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b