cubos::engine::UIText struct

Component used to draw text on the UI.

Public variables

std::string text
The text of the element.
glm::vec4 color
The color of the text.
float fontSize
The font size to draw the characters.
Asset<FontAtlas> fontAtlas
The font atlas to be used.