self:get_projection
Client
Retrieves the current projection mode of the camera
Syntax
local mode = self:get_projection()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
core.camera.projection | mode | Current projection mode of the camera |
Examples
local entity = core.camera.create()
core.engine.print("info", "Projection:", entity:get_projection())