Defines a scene.
More...
#include <ht_scene.h>
|
|
| Scene (const Scene &rhs)=default |
| |
|
Scene & | operator= (const Scene &rhs)=default |
| |
|
| Scene (Scene &&rhs) |
| |
|
Scene & | operator= (Scene &&rhs) |
| |
|
std::string | Name () const |
| | Gets this scene's name.
|
| |
| const Core::Guid & | GUID () const |
| | Gets this scene's Guid. More...
|
| |
| bool | LoadFromHandle (Resource::SceneHandle sceneHandle) |
| | Attempts to load the Scene using the provided handle. More...
|
| |
|
void | Render (void) |
| | Renders this scene.
|
| |
|
void | Update (void) |
| | Updates this scene.
|
| |
|
void | Unload (void) |
| | Unloads this scene and its game objects.
|
| |
| const Guid & Hatchit::Game::Scene::GUID |
( |
| ) |
const |
Gets this scene's Guid.
- Returns
- This scene's Guid.
| bool Hatchit::Game::Scene::LoadFromHandle |
( |
Resource::SceneHandle |
sceneHandle | ) |
|
Attempts to load the Scene using the provided handle.
- Parameters
-
| sceneHandle | A handle a resource containing the JSON representing this Scene. |
- Returns
- true if the Scene could be loaded successfully, false otherwise.
- See also
- SceneHandle(), SceneManager::LoadScene()
The documentation for this class was generated from the following files:
- include/unused/ht_scene.h
- source/unused/ht_scene.cpp