VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
PropertiesMenu.hpp File Reference

Utility function for drawing the component properties inspector for a selected GameObject. More...

#include <imgui.h>
#include <imgui_internal.h>
#include <ImReflect.hpp>
#include <glm/glm.hpp>
#include "components/ECS/ECS.hpp"
#include <string>
#include <algorithm>
#include <cctype>
#include "components/GameComponents/ComponentFactory.hpp"
#include "components/GameObjects/GameObject.hpp"

Go to the source code of this file.

Functions

void DrawPropertiesOfAnObject (vex::GameObject *object, bool temporary)
 Draws the properties panel for a given GameObject, including its name and all components.

Detailed Description

Utility function for drawing the component properties inspector for a selected GameObject.

Author
Eryk Roszkowski

Definition in file PropertiesMenu.hpp.

Function Documentation

◆ DrawPropertiesOfAnObject()

void DrawPropertiesOfAnObject ( vex::GameObject * object,
bool temporary )
inline

Draws the properties panel for a given GameObject, including its name and all components.

Parameters
vex::GameObject*object - The GameObject whose properties are to be displayed.
booltemporary - True if the object was created at runtime and is temporary (shows a warning).

Definition at line 28 of file PropertiesMenu.hpp.