Unravel Engine C++ Reference
|
#include <scene_panel.h>
Public Member Functions | |
scene_panel (imgui_panels *parent) | |
void | init (rtti::context &ctx) |
void | deinit (rtti::context &ctx) |
void | on_frame_update (rtti::context &ctx, delta_t dt) |
void | on_frame_render (rtti::context &ctx, delta_t dt) |
void | on_frame_before_render (rtti::context &ctx, delta_t dt) |
void | on_frame_ui_render (rtti::context &ctx, const char *name) |
auto | get_camera () -> entt::handle |
auto | get_center () -> entt::handle |
void | set_visible (bool visible) |
auto | is_focused () const -> bool |
auto | get_auto_save_prefab () const -> bool |
auto | is_drag_selection_active () const -> bool |
auto | get_drag_selection_rect () const -> ImRect |
auto | get_drag_selection_bounds () const -> std::pair< ImVec2, ImVec2 > |
![]() | |
entity_panel (imgui_panels *parent) | |
~entity_panel ()=default | |
void | on_frame_ui_render () |
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) |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
imgui_panels * | parent_ {} |
Definition at line 10 of file scene_panel.h.
unravel::scene_panel::scene_panel | ( | imgui_panels * | parent | ) |
Definition at line 1112 of file scene_panel.cpp.
void unravel::scene_panel::deinit | ( | rtti::context & | ctx | ) |
Definition at line 1128 of file scene_panel.cpp.
auto unravel::scene_panel::get_auto_save_prefab | ( | ) | const -> bool |
Definition at line 1328 of file scene_panel.cpp.
auto unravel::scene_panel::get_camera | ( | ) | -> entt::handle |
Definition at line 1296 of file scene_panel.cpp.
auto unravel::scene_panel::get_center | ( | ) | -> entt::handle |
Definition at line 1306 of file scene_panel.cpp.
|
inline |
Definition at line 34 of file scene_panel.h.
|
inline |
Definition at line 33 of file scene_panel.h.
void unravel::scene_panel::init | ( | rtti::context & | ctx | ) |
Definition at line 1116 of file scene_panel.cpp.
|
inline |
Definition at line 32 of file scene_panel.h.
auto unravel::scene_panel::is_focused | ( | ) | const -> bool |
Definition at line 1323 of file scene_panel.cpp.
void unravel::scene_panel::on_frame_before_render | ( | rtti::context & | ctx, |
delta_t | dt ) |
Definition at line 1241 of file scene_panel.cpp.
void unravel::scene_panel::on_frame_render | ( | rtti::context & | ctx, |
delta_t | dt ) |
Definition at line 1270 of file scene_panel.cpp.
void unravel::scene_panel::on_frame_ui_render | ( | rtti::context & | ctx, |
const char * | name ) |
Definition at line 1279 of file scene_panel.cpp.
void unravel::scene_panel::on_frame_update | ( | rtti::context & | ctx, |
delta_t | dt ) |
Definition at line 1222 of file scene_panel.cpp.
void unravel::scene_panel::set_visible | ( | bool | visible | ) |
Definition at line 1318 of file scene_panel.cpp.