|
Unravel Engine C++ Reference
|
#include <hierarchy_panel.h>
Public Member Functions | |
| hierarchy_panel (imgui_panels *parent, const char *name) | |
| void | init (rtti::context &ctx) |
| void | draw_ui (rtti::context &ctx) override |
| void | on_after_render (rtti::context &ctx) override |
| auto | get_window_flags () const -> ImGuiWindowFlags override |
Public Member Functions inherited from unravel::entity_panel | |
| entity_panel (imgui_panels *parent, const char *name) | |
| virtual | ~entity_panel ()=default |
| void | duplicate_entities (const std::vector< entt::handle > &entities) |
| void | focus_entities (entt::handle camera, const std::vector< entt::handle > &entities) |
| void | delete_entities (const std::vector< entt::handle > &entities) |
Public Member Functions inherited from unravel::panel_base | |
| panel_base (const char *name) | |
| virtual | ~panel_base ()=default |
| auto | is_visible () const -> bool |
| void | set_visible (bool visible) |
| auto | is_focused () const -> bool |
| auto | is_fullscreen () const -> bool |
| void | set_fullscreen (bool fullscreen) |
| void | toggle_fullscreen () |
| void | focus () |
| void | on_frame_ui_render (rtti::context &ctx) |
| auto | get_name () const -> const std::string & |
Additional Inherited Members | |
Static Public Member Functions inherited from unravel::entity_panel | |
| static auto | get_entity_name (entt::handle entity) -> std::string |
| Gets the entity name from tag component. | |
| static auto | get_entity_icon (entt::handle entity) -> std::string |
| static auto | get_entity_display_color (entt::handle entity) -> ImVec4 |
Protected Member Functions inherited from unravel::panel_base | |
| virtual auto | get_window_name () const -> const char * |
| void | render_panel (rtti::context &ctx, const char *name, ImGuiWindowFlags flags=ImGuiWindowFlags_MenuBar) |
| virtual void | on_before_render (rtti::context &ctx) |
| virtual bool | begin_panel (const char *name, ImGuiWindowFlags flags) |
| virtual void | end_panel (const char *name) |
Protected Attributes inherited from unravel::entity_panel | |
| imgui_panels * | parent_ {} |
Protected Attributes inherited from unravel::panel_base | |
| std::string | name_ |
| std::string | name_fullscreen_ |
| bool | is_visible_ {} |
| bool | is_focused_ {} |
| bool | is_fullscreen_ {} |
| bool | request_focus_ {} |
Definition at line 14 of file hierarchy_panel.h.
| unravel::hierarchy_panel::hierarchy_panel | ( | imgui_panels * | parent, |
| const char * | name ) |
Definition at line 994 of file hierarchy_panel.cpp.
|
overridevirtual |
Implements unravel::panel_base.
Definition at line 1118 of file hierarchy_panel.cpp.
|
overridevirtual |
Reimplemented from unravel::panel_base.
Definition at line 1113 of file hierarchy_panel.cpp.
| void unravel::hierarchy_panel::init | ( | rtti::context & | ctx | ) |
Definition at line 998 of file hierarchy_panel.cpp.
|
overridevirtual |
Reimplemented from unravel::panel_base.
Definition at line 1107 of file hierarchy_panel.cpp.