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

TypeNameDescription
boolresulttrue if energy normalization is enabled, false otherwise

Examples

Check energy normalization on an area light
local entity = light.area.create()

core.engine.print("info", "Area Normalizing Energy:", entity:is_area_normalizing_energy())

On this page