self:get_shadow_bias
Client
Retrieves the shadow bias of the directional light
Syntax
local bias = self:get_shadow_bias()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | bias | Current shadow bias value |
Examples
local entity = light.directional.create()
core.engine.print("info", "Shadow Bias:", entity:get_shadow_bias())