Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
Include |
#include "Fonts/SlateFontInfo.h" |
struct FSlateFontInfo
A representation of a font in Slate.
Name | Description | ||
---|---|---|---|
|
TSharedPtr< con... |
CompositeFont |
The composite font data to use (valid when used with a Slate style set in C++) |
|
FontFallback |
The font fallback level. |
|
|
TObjectPtr< UOb... |
FontMaterial |
The material to use when rendering this font |
|
TObjectPtr< con... |
FontObject |
The font object (valid when used from UMG or a Slate widget style asset) |
|
LetterSpacing |
The uniform spacing (or tracking) between all characters in the text. |
|
|
OutlineSettings |
Settings for applying an outline to a font |
|
|
Size |
The font size is a measure in point values. |
|
|
TypefaceFontName |
The name of the font to use from the default typeface (None will use the first entry) |
Name | Description | |
---|---|---|
|
FSlateFontInfo() |
Default constructor. |
|
FSlateFontInfo ( |
DEPRECATED - Creates and initializes a new instance with the specified font name and size. |
|
FSlateFontInfo ( |
DEPRECATED - Creates and initializes a new instance with the specified font name and size. |
|
FSlateFontInfo ( |
DEPRECATED - Creates and initializes a new instance with the specified font name and size. |
|
FSlateFontInfo ( |
Creates and initializes a new instance with the specified font, size, and emphasis. |
|
FSlateFontInfo ( |
Creates and initializes a new instance with the specified font, size, and emphasis. |
|
FSlateFontInfo ( |
DEPRECATED - Creates and initializes a new instance with the specified font name and size. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
||
|
GetClampSize() |
Get the font size clamp for the font renderer (on 16bits) |
|
|
const FCompo... |
GetCompositeFont() |
Get the composite font pointer associated with this font info (either directly or via a UFont) @note This function will return the fallback font if this font info itself does not contain a valid font. |
|
HasValidFont() |
Check to see whether this font info has a valid composite font pointer set (either directly or via a UFont) |
|
|
IsIdentialToForCaching ( |
||
|
IsIdenticalTo ( |
||
|
PostSerialize ( |
Used to upgrade legacy font into so that it uses composite fonts |
Name | Description | ||
---|---|---|---|
|
operator== ( |