Public Methods | |
RESULT | addNewScene (SceneID &sID) |
RESULT | removeScene (SceneID sID) |
RESULT | setCurrentScene (SceneID sID) |
RESULT | getCurrentScene (SceneID &sID, Mesh **nmesh=NULL, Renderer **nrenderer=NULL) |
RESULT | getScene (SceneID sID, Mesh **nmesh, Renderer **nrenderer) |
A scene is made of a Mesh and a corresponding Renderer, and there can be as many scenes defined as the user wishes. A scene is identified by a unique SceneID.
|
Create a new scene and set it as the current one.
|
|
Get the current scene's Mesh and Renderer. Example of usage:
|
|
Get the scene's (with ID sID) Mesh and Renderer. Example of usage:
|
|
Remove the given scene.
|
|
Set current scene to scene with ID sID.
|