|
Hymn to Beauty
C++ 3D Engine
|
Used to edit an entity. More...
#include <EntityEditor.hpp>
Public Member Functions | |
| EntityEditor () | |
| Create new entity editor. More... | |
| ~EntityEditor () | |
| Destructor. More... | |
| void | Show () |
| Show the editor. More... | |
| void | SetEntity (Entity *entity) |
| Set the entity to edit. More... | |
| Entity * | GetEntity () |
| Get the entity being edited. More... | |
| bool | ShowsEntity (Entity *entity) |
| Checks if the editor is showing this entity. More... | |
| bool | IsVisible () const |
| Get whether the window is visible. More... | |
| void | SetVisible (bool visible) |
| Set whether the window should be visible. More... | |
Used to edit an entity.
| EntityEditor::EntityEditor | ( | ) |
Create new entity editor.
| EntityEditor::~EntityEditor | ( | ) |
Destructor.
| Entity * EntityEditor::GetEntity | ( | ) |
Get the entity being edited.
| bool EntityEditor::IsVisible | ( | ) | const |
Get whether the window is visible.
| void EntityEditor::SetEntity | ( | Entity * | entity | ) |
Set the entity to edit.
| entity | The entity to edit. |
| void EntityEditor::SetVisible | ( | bool | visible | ) |
Set whether the window should be visible.
| visible | Whether the window should be visible. |
| void EntityEditor::Show | ( | ) |
Show the editor.
| bool EntityEditor::ShowsEntity | ( | Entity * | entity | ) |
Checks if the editor is showing this entity.
| entity | The entity to check. |