Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include |
#include "Fonts/FontCache.h" |
struct FCharacterEntry
Information for rendering one non-shaped character
Name | Description | ||
---|---|---|---|
|
float |
BitmapRenderScale |
Any additional scale that should be applied when rendering this glyph |
|
Character |
The character this entry is for |
|
|
FallbackLevel |
The fallback level this character represents |
|
|
const FFontData... |
FontData |
The raw font data this character was rendered with |
|
float |
FontScale |
Scale that was applied when rendering this character |
|
GlobalDescender |
The largest vertical distance below the baseline for any character in the font |
|
|
GlyphIndex |
The index of the glyph from the FreeType face that this entry is for |
|
|
HasKerning |
1 if this entry has kerning, 0 otherwise. |
|
|
HorizontalOffset |
The vertical distance from the origin to the left most border of the character |
|
|
TSharedPtr< FFr... |
KerningCache |
The kerning cache that this entry uses |
|
StartU |
Start X location of the character in the texture |
|
|
StartV |
Start Y location of the character in the texture |
|
|
SupportsOutline |
1 if this entry supports outline rendering, 0 otherwise. |
|
|
TextureIndex |
Index to a specific texture in the font cache. |
|
|
USize |
X Size of the character in the texture |
|
|
Valid |
1 if this entry is valid, 0 otherwise. |
|
|
VerticalOffset |
The vertical distance from the baseline to the topmost border of the character |
|
|
VSize |
Y Size of the character in the texture |
|
|
XAdvance |
The amount to advance in X before drawing the next character in a string |