core.camera.projection
Client
Enumeration of projection modes available for the camera
Values
| Constant | Description |
|---|---|
core.camera.projection.PERSPECTIVE | Renders the scene with perspective projection, simulating depth perception |
core.camera.projection.ORTHOGONAL | Renders the scene with orthogonal projection, with no perspective distortion |
Examples
local entity = core.camera.create()
entity:set_projection(core.camera.projection.PERSPECTIVE)