self:set_v_offset
Client
Sets the vertical offset of the camera
Syntax
local status = self:set_v_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_v_offset(0.25)