self:get_cull_mask

Client

Retrieves the cull mask of the area light, which controls which layers are affected by this light


Syntax

local mask = self:get_cull_mask()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
intmaskCurrent cull mask bitmask

Examples

Get cull mask of a area light
local entity = light.area.create()

core.engine.print("info", "Cull Mask:", entity:get_cull_mask())

On this page