Raw font data for a Font Face asset.
更多...
#include <CompositeFont.h>
|
|
| FFontFaceData () |
| | Default constructor
|
| |
|
| FFontFaceData (TArray< uint8 > &&InData) |
| | Construct from an existing block of font data
|
| |
| const TArray< uint8 > & | GetData () const |
| |
| bool | HasData () const |
| |
|
void | Serialize (FArchive &Ar) |
| | Serialize the data on this instance to/from an archive
|
| |
|
void | SetData (TArray< uint8 > &&InData) |
| | Set from an existing block of font data
|
| |
|
| ~FFontFaceData () |
| | Destructor
|
| |
|
|
static FFontFaceDataRef | MakeFontFaceData () |
| | Helper function to construct a default font face data
|
| |
|
static FFontFaceDataRef | MakeFontFaceData (TArray< uint8 > &&InData) |
| | Helper function to construct a font face data from an existing block of font data
|
| |
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.
◆ GetData()
| const TArray< uint8 > & FFontFaceData::GetData |
( |
| ) |
const |
|
inline |
- 返回
- The data set on this instance
◆ HasData()
| bool FFontFaceData::HasData |
( |
| ) |
const |
|
inline |
- 返回
- true if this instance has data set on it
该结构体的文档由以下文件生成: