self:set_vertical_offset

Client

Sets the camera's vertical offset


Syntax

local status = self:set_vertical_offset(
    offset
)

Parameters

TypeNameDescription
floatoffsetVertical offset to apply to the camera view

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the vertical offset
local entity = core.camera.create()

entity:set_vertical_offset(0.5)

On this page