Raftel Engine
 
Loading...
Searching...
No Matches
Raftel::Editor Class Reference

Editor class that provides UI controls for managing entities and camera. More...

#include <imguiWindows.hpp>

Public Member Functions

 Editor ()
 Constructs an Editor object.
 
 ~Editor ()
 Destructor for the Editor.
 
void Show (Raftel::Camera &cam, EntityManager &ecs)
 Displays the main editor UI for managing entities and the camera.
 
void ShowShadowMaps (EntityManager &ecs)
 Displays shadow maps for entities with light components.
 

Public Attributes

int selectedEntityIndex
 

Detailed Description

Editor class that provides UI controls for managing entities and camera.

Definition at line 14 of file imguiWindows.hpp.

Member Function Documentation

◆ Show()

void Raftel::Editor::Show ( Raftel::Camera & cam,
EntityManager & ecs )

Displays the main editor UI for managing entities and the camera.

Parameters
camReference to the camera.
ecsReference to the entity manager.

◆ ShowShadowMaps()

void Raftel::Editor::ShowShadowMaps ( EntityManager & ecs)

Displays shadow maps for entities with light components.

Parameters
ecsReference to the entity manager.

Member Data Documentation

◆ selectedEntityIndex

int Raftel::Editor::selectedEntityIndex

Index of the currently selected entity in the editor.

Definition at line 39 of file imguiWindows.hpp.


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