A handy reference to the 'main' camera. By default this is the first Camera the
Camera Manager creates. You can also set it directly, or use the makeMain
argument
in the add
and addExisting
methods. It allows you to access it from your game:
var cam = this.cameras.main;
Also see the properties camera1
, camera2
and so on.