self:is_negative
Client
Checks whether the area light is set to negative mode, which subtracts light from the scene
Syntax
local result = self:is_negative()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the light is in negative mode, false otherwise |
Examples
local entity = light.area.create()
core.engine.print("info", "Area light negative:", entity:is_negative())