Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Fonts
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFontBulkData
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontBulkData.h |
Include | #include "Fonts/FontBulkData.h" |
Syntax
class UFontBulkData : public UObject
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int64 | Returns the size of the bulk data in bytes | |
![]() |
void | Initialize
(
const FString& InFontFilename |
Construct the bulk font data from the given file |
![]() |
void | Initialize
(
const void*const InFontData, |
Construct the bulk font data from the given data |
![]() ![]() |
const void * | Lock
(
int64& OutFontDataSizeBytes |
Locks the bulk font data and returns a read-only pointer to it |
![]() |
void | Unlock () |
Unlock the bulk font data, after which point the pointer returned by Lock no longer is valid |