FontBatch32
The FontBatch32 struct represents a batch of UTF-32 encoded text to be rendered, with properties for positioning, color, and style. It includes constructors for setting the position and text, and optionally the font style.
#include <interface/TellusimTypes.h>
Constructors
FontBatch32()
FontBatch32(const Vector3f &position, const uint32_t *str)
FontBatch32(const Vector3f &position, const FontStyle *style, const uint32_t *str)
Variables
Type | Name | Value | Description |
---|---|---|---|
Vector3f | position | Vector3f::zero | Font position. |
Color | color | Color::white | Font color. |
FontStyle | style | nullptr | Font style. |
uint32_t | str | nullptr | Font text. |