self:scale_global
Client
Scales the camera in global space
Syntax
local status = self:scale_global(
scale
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | scale | Scale to apply in global 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_global({2, 2, 2})