self:get_cull_mask
Client
Retrieves the cull mask of the spot 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
| Type | Name | Description |
|---|---|---|
int | mask | Current cull mask bitmask |
Examples
local entity = light.spot.create()
core.engine.print("info", "Cull Mask:", entity:get_cull_mask())