camera2d
Adds a Camera2D to the current Node as a child and then triggers the callback
Return
the newly created Camera2D
Parameters
callback
the callback that is invoked with a Camera2D context in order to initialize any values
Adds a Camera2D to the current SceneGraph.root as a child and then triggers the Camera2D
Return
the newly created Camera2D
Parameters
callback
the callback that is invoked with a Camera2D context in order to initialize any values