![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CompositeFont.h>
Public Member Functions | |
| SLATECORE_API | FFontFaceData () |
| SLATECORE_API | FFontFaceData (TArray< uint8 > &&InData) |
| SLATECORE_API | ~FFontFaceData () |
| bool | HasData () const |
| SLATECORE_API void | SetData (TArray< uint8 > &&InData) |
| SLATECORE_API void | SetPreprocessedFontGeometries (TArray< UE::Slate::FPreprocessedFontGeometry > &&InPreprocessedFontGeometries) |
| const TArray< uint8 > & | GetData () const |
| TArrayView< const UE::Slate::FPreprocessedFontGeometry > | GetPreprocessedFontGeometries () const |
| SLATECORE_API SIZE_T | GetAllocatedSize () const |
| SLATECORE_API void | Serialize (FArchive &Ar) |
Static Public Member Functions | |
| static FFontFaceDataRef | MakeFontFaceData () |
| static FFontFaceDataRef | MakeFontFaceData (TArray< uint8 > &&InData) |
Raw font data for a Font Face asset.
| FFontFaceData::FFontFaceData | ( | ) |
Default constructor
Construct from an existing block of font data
| FFontFaceData::~FFontFaceData | ( | ) |
Destructor
| SIZE_T FFontFaceData::GetAllocatedSize | ( | ) | const |
|
inline |
|
inline |
|
inlinestatic |
Helper function to construct a default font face data
|
inlinestatic |
Helper function to construct a font face data from an existing block of font data
Serialize the data on this instance to/from an archive
| void FFontFaceData::SetPreprocessedFontGeometries | ( | TArray< UE::Slate::FPreprocessedFontGeometry > && | InPreprocessedFontGeometries | ) |
Set the preprocessed font geometry data per sub-face for the given font data