Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Fonts
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/CompositeFont.h |
| Include | #include "Fonts/CompositeFont.h" |
Syntax
struct FFontFaceData
Remarks
Raw font data for a Font Face asset.
Exists as a struct so it can be shared between its owner asset and the font cache without worrying about UObject lifetimes.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
FFontFaceData
(
TArray< uint8 >&& InData |
Construct from an existing block of font data |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArray< uint8 > & | GetData () |
||
| bool | HasData () |
||
| FFontFaceDataRef | Helper function to construct a default font face data | ||
| FFontFaceDataRef | MakeFontFaceData
(
TArray< uint8 >&& InData |
Helper function to construct a font face data from an existing block of font data | |
| void | Serialize the data on this instance to/from an archive | ||
| void | Set from an existing block of font data |