self:get_projection

Client

Retrieves the camera's current projection mode


Syntax

local result = self:get_projection()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
core.camera.projectionresultCurrent projection mode of the camera

Examples

Get the camera projection mode
local entity = core.camera.create()

core.engine.print("info", entity:get_projection())

On this page