Used to edit a scene.
More...
#include <SceneEditor.hpp>
◆ SceneEditor()
| SceneEditor::SceneEditor |
( |
| ) |
|
◆ GetSaveFileJson()
| Json::Value SceneEditor::GetSaveFileJson |
( |
std::string * |
filename | ) |
const |
Gets a Json file representing the save file.
- Parameters
-
| filename | This is where the filename will be stored. |
◆ IsVisible()
| bool SceneEditor::IsVisible |
( |
| ) |
const |
Get whether the window is visible.
- Returns
- Whether the window is visible.
◆ Save()
| void SceneEditor::Save |
( |
| ) |
const |
Save currently open scene to file.
◆ SetScene()
| void SceneEditor::SetScene |
( |
const std::string & |
path, |
|
|
std::string * |
scene |
|
) |
| |
Set the scene to edit.
- Parameters
-
| path | Path to the folder containing the scene. |
| scene | Scene to edit. |
◆ SetVisible()
| void SceneEditor::SetVisible |
( |
bool |
visible | ) |
|
Set whether the window should be visible.
- Parameters
-
| visible | Whether the window should be visible. |
◆ Show()
| void SceneEditor::Show |
( |
| ) |
|
◆ entityEditor
◆ entityPressed
| bool GUI::SceneEditor::entityPressed = false |
Did we press on an entity this frame.
The documentation for this class was generated from the following files: