Instance

When the create() method on the scenes module is called, it returns a scene instance. This instance holds all the objects for the scene and methods for adding/removing objects and loading/unloading the scene.

Methods

Properties

loaded : Boolean
True if the scene is currently loaded, false otherwise.
name : String
The name of the scene instance.
objects : Array
Contains all the objects that have been added to the scene.