self:get_shadow_caster_mask
Client
Retrieves the shadow caster mask of the point light, which controls which layers cast shadows
Syntax
local mask = self:get_shadow_caster_mask()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | mask | Current shadow caster mask bitmask |
Examples
local entity = light.point.create()
core.engine.print("info", "Shadow Caster Mask:", entity:get_shadow_caster_mask())