HorizontalAlignment Enum
Add this in your code:
#include <engine/graphics/ui/text_alignments.h>
Description
Enum to horizontally align text with text rendering components.
Values
Name | Description |
---|---|
Left | Put the text on the left of the pivot |
Center | Put the text at the center of the pivot |
Right | Put the text on the right of the pivot |