self:scale_global

Client

Scales the area light in world space by the given factor


Syntax

local status = self:scale_global(
    scale
)

Parameters

TypeNameDescription
vector3scaleScale factor to apply in world space as {x, y, z}

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Scale a area light uniformly in world space
local entity = light.area.create()

entity:scale_global({2, 2, 2})

On this page