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
| Type | Name | Description |
|---|---|---|
float | offset | Current vertical offset of the camera |
Examples
local entity = core.camera.create()
core.engine.print("info", "Vertical offset:", entity:get_v_offset())