Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Engine::UITextComponent Struct Reference

#include <UIComponents.hpp>

Public Attributes

std::string text = "New Text"
glm::vec4 color {1.0f, 1.0f, 1.0f, 1.0f}
float fontSize = 14.0f
bool alignCenter = false

Member Data Documentation

◆ alignCenter

bool Engine::UITextComponent::alignCenter = false

◆ color

glm::vec4 Engine::UITextComponent::color {1.0f, 1.0f, 1.0f, 1.0f}

◆ fontSize

float Engine::UITextComponent::fontSize = 14.0f

◆ text

std::string Engine::UITextComponent::text = "New Text"

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