self:set_vertical_offset
Client
Sets the camera's vertical offset
Syntax
local status = self:set_vertical_offset(
offset
)Parameters
| Type | Name | Description |
|---|---|---|
float | offset | Vertical offset to apply to the camera view |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_vertical_offset(0.5)