self:set_cull_mask
Client
Sets the cull mask of the area light, controlling which layers are affected by this light
Syntax
local status = self:set_cull_mask(
mask
)Parameters
| Type | Name | Description |
|---|---|---|
int | mask | Cull mask bitmask to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.area.create()
entity:set_cull_mask(1)