self:scale_local
Client
Scales the point light in local space by the given factor
Syntax
local status = self:scale_local(
scale
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | scale | Scale factor to apply in local space as {x, y, z} |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.point.create()
entity:scale_local({2, 1, 1})