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