Class Scene
The Scene
contains a list of all objects
that should be drawn at a given time.
Fields
Name |
Type |
Description |
camera
|
Camera |
The camera to render with.
|
Methods
Name |
Description |
addChild
|
Adds object to the children, adds it to the scene graph.
|
clear
|
Remove all objects from the collection.
|
draw
|
Draws all objects in the scene.
|
loadObjects
|
Load all objects inside the specified folder in FilePath.Objects.
|
opIndex
|
Gets the object in the scene with the given name .
|
opIndex
|
Gets the object in the scene with the given id.
|
refresh
|
Refreshes all objects in the scene that need refreshing.
|
removeChild
|
Removes the given object as a child from this scene.
|
update
|
Updates all objects in the scene.
|