self:is_area_normalizing_energy
Client
Checks whether energy normalization is enabled on the area light, which keeps perceived brightness constant regardless of the area size
Syntax
local result = self:is_area_normalizing_energy()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if energy normalization is enabled, false otherwise |
Examples
local entity = light.area.create()
core.engine.print("info", "Area Normalizing Energy:", entity:is_area_normalizing_energy())