self:get_global_scale
Client
Retrieves the global world-space scale of the spot light
Syntax
local scale = self:get_global_scale()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
vector3 | scale | Current global scale as {x, y, z} |
Examples
local entity = light.spot.create()
core.engine.print("info", "Spot light scale:", util.table.unpack(entity:get_global_scale()))