Handles the main editor.
More...
#include <Editor.hpp>
◆ Editor()
Create new editor.
- Parameters
-
| window | The window to display the editor in. |
| lowLevelRenderer | The low-level renderer to use. |
◆ ~Editor()
◆ Close()
◆ GetCamera()
| Entity * Editor::GetCamera |
( |
| ) |
const |
Get the editor camera.
- Returns
- Camera through which to render.
◆ HasMadeChanges()
| bool Editor::HasMadeChanges |
( |
| ) |
const |
Show the editor.
- Returns
- Check if you have made any changes to the scene.
◆ IsClosing()
| bool Editor::IsClosing |
( |
| ) |
const |
Is the editor preparing for closing down?
- Returns
- Are we closing the editor?
◆ IsVisible()
| bool Editor::IsVisible |
( |
| ) |
const |
Get whether the resource list is visible.
- Returns
- Whether the resource list is visible.
◆ LoadSceneState()
| void Editor::LoadSceneState |
( |
| ) |
|
Loads the save editor state.
◆ ReadyToClose()
| bool Editor::ReadyToClose |
( |
| ) |
const |
Is the editor ready to be closed, have we saved everything?
- Returns
- Are we ready to close the editor?
◆ RenderHymn()
| void Editor::RenderHymn |
( |
| ) |
|
Render the hymn using the editor's debug visualization settings.
◆ Save()
| void Editor::Save |
( |
| ) |
const |
Save the hymn being edited.
◆ SetVisible()
| void Editor::SetVisible |
( |
bool |
visible | ) |
|
Set whether the resource list should be visible.
- Parameters
-
| visible | Whether the resource list should be visible. |
◆ Show()
| void Editor::Show |
( |
float |
deltaTime | ) |
|
Show the editor.
- Parameters
-
| deltaTime | Time since last frame (in seconds). |
◆ paintModeActive
| bool Editor::paintModeActive = false |
◆ vertsLoaded
| bool Editor::vertsLoaded = false |
The documentation for this class was generated from the following files: