self:get_v_offset

Client

Retrieves the vertical offset of the camera


Syntax

local offset = self:get_v_offset()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatoffsetCurrent vertical offset of the camera

Examples

Get the vertical offset of a camera
local entity = core.camera.create()

core.engine.print("info", "Vertical offset:", entity:get_v_offset())

On this page