self:get_size

Client

Retrieves the orthogonal size of the camera


Syntax

local size = self:get_size()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatsizeCurrent orthogonal size of the camera

Examples

Get the orthogonal size of a camera
local entity = core.camera.create()

core.engine.print("info", "Size:", entity:get_size())

On this page