PixelLightAPI
.
|
Scene application class. More...
#include <SceneApplication.h>
Protected Member Functions | |
PLS_API void | SetRootScene (PLScene::SceneContainer *pSceneContainer) |
Set root scene. | |
virtual PLS_API bool | OnStart () override |
Initialization function that is called prior to OnInit() | |
virtual PLS_API void | OnStop () override |
De-initialization function that is called after OnDeInit() | |
virtual PLS_API void | OnUpdate () override |
Called to let the frontend update it's states. | |
virtual PLS_API void | OnCreateRootScene () |
Function that is called to create the application's root scene. | |
Protected Attributes | |
PLScene::SceneContext * | m_pSceneContext |
PLScene::SceneContainer * | m_pRootScene |
Scene application class.
PLS_API void PLScene::SceneApplication::SetRootScene | ( | PLScene::SceneContainer * | pSceneContainer | ) | [protected] |
Set root scene.
[in] | pSceneContainer | Pointer to root scene container, can be a null pointer |
virtual PLS_API bool PLScene::SceneApplication::OnStart | ( | ) | [override, protected, virtual] |
Initialization function that is called prior to OnInit()
Reimplemented from PLRenderer::RendererApplication.
Reimplemented in PLEngine::EngineApplication, and PLEngine::ScriptApplication.
virtual PLS_API void PLScene::SceneApplication::OnStop | ( | ) | [override, protected, virtual] |
De-initialization function that is called after OnDeInit()
Reimplemented from PLRenderer::RendererApplication.
Reimplemented in PLEngine::EngineApplication, and PLEngine::ScriptApplication.
virtual PLS_API void PLScene::SceneApplication::OnUpdate | ( | ) | [override, protected, virtual] |
Called to let the frontend update it's states.
Reimplemented from PLRenderer::RendererApplication.
Reimplemented in PLEngine::EngineApplication, and PLEngine::ScriptApplication.
virtual PLS_API void PLScene::SceneApplication::OnCreateRootScene | ( | ) | [protected, virtual] |
Function that is called to create the application's root scene.
Reimplemented in PLEngine::EngineApplication.
The scene context, can be a null pointer
Root scene (can be a null pointer)
|