self:set_scale
Client
Sets the local scale of the directional light
Syntax
local status = self:set_scale(
scale
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | scale | Scale to apply as {x, y, z} |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.directional.create()
entity:set_scale({2, 2, 2})