self:get_shadow_bias

Client

Retrieves the shadow bias of the spot light


Syntax

local bias = self:get_shadow_bias()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatbiasCurrent shadow bias value

Examples

Get shadow bias of a spot light
local entity = light.spot.create()

core.engine.print("info", "Shadow Bias:", entity:get_shadow_bias())

On this page