Create a scene using a unique id.
Initialize scene. Invoke start for all IStartable objects that have a start() method. Returns reference to this so it can be used in a stream.
Remove a child entity using its reference. Returns reference to this so it can be used in a stream.
Render all renderable systems. It's called every frame after Scene.update.
Spawn a scene entity using its reference. You can specify where to spawn. By default is set to scene tree.
Spawn a scene entity using its ID. Second time you call this method for the same id, an assertion is produced. Returns new entity reference.
Spawn a scene entity using its reference. Second time you call this method for the same id, nothing happens. Returns old/new entity reference.
Spawn a scene entity using its ID. Second time you call this method for the same id, nothing happens. Returns old/new entity reference.
Update all entitys that have an update() method. These entitys must implement IUpdateable. It's called every frame.
* Create a new scene instance using relative path of the scene file.
* Release an existing scene from memory.
* Called every frame to update the current state of the scene entity.
A scene is a 3D space where you can place different objects, like primitives, terrains, lights and guis. It implements ISceneFactory, IStartable and IUpdateable services.