Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
Olympe::InspectorPanel Class Reference

InspectorPanel - Adaptive inspector panel Displays properties based on current selection context. More...

#include <InspectorPanel.h>

Public Member Functions

 InspectorPanel ()
 
 ~InspectorPanel ()
 
void Initialize ()
 
void Shutdown ()
 
void Render ()
 

Private Member Functions

void RenderNodeInspector ()
 
void RenderEntityInspector ()
 
void RenderAssetFileInspector ()
 
void RenderComponentProperties (uint64_t entityId, const std::string &componentType)
 
InspectorContext DetermineContext ()
 

Detailed Description

InspectorPanel - Adaptive inspector panel Displays properties based on current selection context.

Definition at line 27 of file InspectorPanel.h.

Constructor & Destructor Documentation

◆ InspectorPanel()

Olympe::InspectorPanel::InspectorPanel ( )

Definition at line 17 of file InspectorPanel.cpp.

◆ ~InspectorPanel()

Olympe::InspectorPanel::~InspectorPanel ( )

Definition at line 21 of file InspectorPanel.cpp.

Member Function Documentation

◆ DetermineContext()

InspectorContext Olympe::InspectorPanel::DetermineContext ( )
private

Definition at line 65 of file InspectorPanel.cpp.

References Olympe::AssetFile, Olympe::BlueprintEditor::Get(), Olympe::None, and Olympe::RuntimeEntity.

Referenced by Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Initialize()

void Olympe::InspectorPanel::Initialize ( )

Definition at line 25 of file InspectorPanel.cpp.

Referenced by Olympe::BlueprintEditorGUI::Initialize().

+ Here is the caller graph for this function:

◆ Render()

void Olympe::InspectorPanel::Render ( )

Definition at line 35 of file InspectorPanel.cpp.

References Olympe::AssetFile, DetermineContext(), Olympe::GraphNode, Olympe::None, RenderAssetFileInspector(), RenderEntityInspector(), RenderNodeInspector(), and Olympe::RuntimeEntity.

Referenced by Olympe::BlueprintEditorGUI::Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenderAssetFileInspector()

void Olympe::InspectorPanel::RenderAssetFileInspector ( )
private

◆ RenderComponentProperties()

void Olympe::InspectorPanel::RenderComponentProperties ( uint64_t  entityId,
const std::string &  componentType 
)
private

Definition at line 135 of file InspectorPanel.cpp.

References Olympe::EntityInspectorManager::Get(), Olympe::EntityInspectorManager::GetComponentProperties(), GetComponentTypeID_Static(), and Olympe::EntityInspectorManager::SetComponentProperty().

Referenced by RenderEntityInspector().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenderEntityInspector()

void Olympe::InspectorPanel::RenderEntityInspector ( )
private

◆ RenderNodeInspector()

void Olympe::InspectorPanel::RenderNodeInspector ( )
private

Definition at line 85 of file InspectorPanel.cpp.

Referenced by Render().

+ Here is the caller graph for this function:

◆ Shutdown()

void Olympe::InspectorPanel::Shutdown ( )

Definition at line 30 of file InspectorPanel.cpp.

Referenced by Olympe::BlueprintEditorGUI::Shutdown().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: