![]() |
Lysa
0.0
Lysa 3D Engine
|
Information for a single glyph packed in the atlas. Read-only.
Lua full name: lysa.GlyphInfo
Properties | |
| integer | index |
| Glyph index in the font (HarfBuzz / FreeType index). | |
| number | advance |
| Advance width in pixels for the current font size. | |
| GlyphBounds | plane_bounds |
| Bounding box in font plane units. | |
| float2 | uv0 |
| Top-left texture coordinate of the glyph in the atlas. | |
| float2 | uv1 |
| Bottom-right texture coordinate of the glyph in the atlas. | |
| integer index |
Glyph index in the font (HarfBuzz / FreeType index).
| number advance |
Advance width in pixels for the current font size.
| GlyphBounds plane_bounds |
Bounding box in font plane units.
| float2 uv0 |
Top-left texture coordinate of the glyph in the atlas.
| float2 uv1 |
Bottom-right texture coordinate of the glyph in the atlas.