Raftel Engine
 
Loading...
Searching...
No Matches
Raftel::EntityWindowState Struct Reference

Stores the state of the entity window in the UI. More...

#include <imguiRenderer.hpp>

Public Attributes

bool isOpen = true
 
ImVec2 size = ImVec2(250, 500)
 
glm::vec3 movementTarget = { 0.0f, 0.0f, 0.0f }
 
bool isMoving = false
 
float movementSpeed = 1.0f
 
int current_entity = 0
 

Detailed Description

Stores the state of the entity window in the UI.

Definition at line 18 of file imguiRenderer.hpp.

Member Data Documentation

◆ current_entity

int Raftel::EntityWindowState::current_entity = 0

The ID of the currently selected entity.

Definition at line 24 of file imguiRenderer.hpp.

◆ isMoving

bool Raftel::EntityWindowState::isMoving = false

Flag indicating whether the entity is moving.

Definition at line 22 of file imguiRenderer.hpp.

◆ isOpen

bool Raftel::EntityWindowState::isOpen = true

Indicates whether the entity window is open.

Definition at line 19 of file imguiRenderer.hpp.

◆ movementSpeed

float Raftel::EntityWindowState::movementSpeed = 1.0f

Speed at which the entity moves.

Definition at line 23 of file imguiRenderer.hpp.

◆ movementTarget

glm::vec3 Raftel::EntityWindowState::movementTarget = { 0.0f, 0.0f, 0.0f }

Target position for entity movement.

Definition at line 21 of file imguiRenderer.hpp.

◆ size

ImVec2 Raftel::EntityWindowState::size = ImVec2(250, 500)

Size of the entity window.

Definition at line 20 of file imguiRenderer.hpp.


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