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