self:scale_local

Client

Scales the camera in local object space


Syntax

local status = self:scale_local(
    scale
)

Parameters

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

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

entity:scale_local({1, 1, 2})

On this page