![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CompositeFont.h>
Friends | |
| uint32 | GetTypeHash (const FFontData &Key) |
| FArchive & | operator<< (FArchive &Ar, FFontData &InFontData) |
Payload data describing an individual font in a typeface. Keep this lean as it's also used as a key!
| FFontData::FFontData | ( | ) |
Default constructor
|
explicit |
Construct the raw data from a font face asset
| FFontData::FFontData | ( | FString | InFontFilename, |
| const EFontHinting | InHinting, | ||
| const EFontLoadingPolicy | InLoadingPolicy, | ||
| const int32 | InSubFaceIndex = 0 |
||
| ) |
Construct the raw data from a filename and the font data attributes
| void FFontData::AddReferencedObjects | ( | FReferenceCollector & | Collector | ) |
Called by FStandaloneCompositeFont to prevent our objects from being GCd
| int32 FFontData::GetAscendOverriddenValue | ( | ) | const |
Returns the overridden value of the ascend. This value will be used only if IsAscendOverridden returns true.
| int32 FFontData::GetDescendOverriddenValue | ( | ) | const |
Returns the overridden value of the descend. This value will be used only if IsDescendOverridden returns true.
| const UObject * FFontData::GetFontFaceAsset | ( | ) | const |
Get the font face asset used by this data (if any).
| FFontFaceDataConstPtr FFontData::GetFontFaceData | ( | ) | const |
Get the data buffer containing the data for the current font face.
| const FString & FFontData::GetFontFilename | ( | ) | const |
Get the filename of the font to use. This may not actually exist on disk in editor builds and we should load the face buffer instead.
| FFontRasterizationSettings FFontData::GetFontRasterizationSettings | ( | ) | const |
Get the font face rasterization settings.
| EFontHinting FFontData::GetHinting | ( | ) | const |
Get the hinting algorithm to use with the font.
| EFontLayoutMethod FFontData::GetLayoutMethod | ( | ) | const |
Get the method to use when laying out the font?
| EFontLoadingPolicy FFontData::GetLoadingPolicy | ( | ) | const |
Get the enum controlling how this font should be loaded at runtime.
| int32 FFontData::GetStrikeBrushHeightPercentage | ( | ) | const |
Gets the percentage of the font height that's used as the height of the strike brush.
| int32 FFontData::GetSubFaceIndex | ( | ) | const |
Get the index of the sub-face that should be used.
| bool FFontData::HasFont | ( | ) | const |
Is this font data set to a font? (either by filename or by inline data)
| bool FFontData::IsAscendOverridden | ( | ) | const |
Returns true if the ascend is overridden.
| bool FFontData::IsDescendOverridden | ( | ) | const |
Returns true if the descend is overridden.
Check to see whether this font data is not equal to the other font data
Check to see whether this font data is equal to the other font data
Set the index of the sub-face that should be used.