| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/FontFace.h |
Include |
#include "Engine/FontFace.h" |
class UFontFace :
public UObject,
public IFontFaceInterface
A font face asset contains the raw payload data for a source TTF/OTF file as used by FreeType. During cook this asset type generates a ".ufont" file containing the raw payload data (unless loaded "Inline").
Name | Description | ||
---|---|---|---|
|
FontFaceData |
The data associated with the font face. |
|
|
Hinting |
The hinting algorithm to use with the font face. |
|
|
LayoutMethod |
Which method should we use when laying out the font? Try changing this if you notice clipping or height issues with your font. |
|
|
LoadingPolicy |
Enum controlling how this font face should be loaded at runtime. |
|
|
SourceFilename |
The filename of the font face we were created from. |
|
|
SubFaces |
Transient cache of the sub-faces available within this face |
Name | Description | |
---|---|---|
|
UFontFace() |
Default constructor |
Name | Description | ||
---|---|---|---|
|
CacheSubFaces() |
Name | Description | ||
---|---|---|---|
|
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
|
GetResourceSizeEx ( |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
GetCookedFilename() |
Get the filename of the font to use when cooked. This file will be generated during cook. |
|
|
FFontFaceDat... |
GetFontFaceData() |
Get the data buffer containing the data for the current font face. |
|
const FStrin... |
GetFontFilename() |
Get the filename of the font to use. |
|
GetHinting() |
Get the hinting algorithm to use with the font. |
|
|
EFontLayoutM... |
GetLayoutMethod() |
Get the method to use when laying out the font? |
|
EFontLoading... |
GetLoadingPolicy() |
Get the enum controlling how this font should be loaded at runtime. |
|
InitializeFromBulkData ( |
Initialize this font face from legacy bulk data. |
Name | Description | ||
---|---|---|---|
|
FontFaceData_DEPRECATED |
The data associated with the font face. |