camera property

Camera? camera
getter/setter pair

The camera the view draws from: its own, or the world's main one (World.camera) when null. Read at each frame. While its object isn't a live, shown object of the world (not added yet, destroyed, inactive), the view draws black, not the main camera's picture.

Implementation

Camera? camera;