self:scale_global

Client

Scales the camera in global space


Syntax

local status = self:scale_global(
    scale
)

Parameters

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

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Scale a camera in global space
local entity = core.camera.create()

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

On this page