core.camera.projection

Client

Enumeration of projection modes available for the camera


Values

ConstantDescription
core.camera.projection.PERSPECTIVERenders the scene with perspective projection, simulating depth perception
core.camera.projection.ORTHOGONALRenders the scene with orthogonal projection, with no perspective distortion

Examples

Set a camera to perspective projection
local entity = core.camera.create()

entity:set_projection(core.camera.projection.PERSPECTIVE)

On this page