self:set_active

Client

Sets this camera as the currently active camera


Syntax

local status = self:set_active()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Activate a camera instance
local entity = core.camera.create()

entity:set_active()

On this page