![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCache.h>
Classes | |
| struct | FMetrics |
Public Attributes | |
| int16 | VerticalOffset = 0 |
| int16 | HorizontalOffset = 0 |
| uint16 | StartU = 0 |
| uint16 | StartV = 0 |
| uint16 | USize = 0 |
| uint16 | VSize = 0 |
| float | EmOuterSpread = 0.f |
| float | EmInnerSpread = 0.f |
| FMetrics | Metrics |
| uint8 | TextureIndex = 0 |
| bool | bSupportsSdf = false |
| bool | bPendingRespawn = false |
| bool | Valid = false |
The font atlas data for a single distance field-based glyph
True if the SDF is a placeholder and the task for its final version hasn't been spawned yet (due to too many running tasks)
True if the glyph is available in the face but sdf generation was not possible/successful
| float FSdfGlyphFontAtlasData::EmInnerSpread = 0.f |
Inner portion of the spread of representable distances, in em
| float FSdfGlyphFontAtlasData::EmOuterSpread = 0.f |
Outer portion of the spread of representable distances, in em
| int16 FSdfGlyphFontAtlasData::HorizontalOffset = 0 |
The horizontal distance from the origin to the leftmost border of the glyph sdf raster
| FMetrics FSdfGlyphFontAtlasData::Metrics |
| uint16 FSdfGlyphFontAtlasData::StartU = 0 |
Start X location of the sdf raster in the texture
| uint16 FSdfGlyphFontAtlasData::StartV = 0 |
Start Y location of the sdf raster in the texture
| uint8 FSdfGlyphFontAtlasData::TextureIndex = 0 |
Index to a specific texture in the font cache.
| uint16 FSdfGlyphFontAtlasData::USize = 0 |
Width of the sdf raster in the texture
| int16 FSdfGlyphFontAtlasData::VerticalOffset = 0 |
The vertical distance from the baseline to the topmost border of the glyph sdf raster
| uint16 FSdfGlyphFontAtlasData::VSize = 0 |
Height of the sdf raster in the texture