self:get_fov
Client
Retrieves the field of view of the camera
Syntax
local fov = self:get_fov()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | fov | Current field of view in degrees |
Examples
local entity = core.camera.create()
core.engine.print("info", "FOV:", entity:get_fov())