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