Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateFontInfo
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Fonts/SlateFontInfo.h | ||
FSlateFontInfo
(
const FName& InFontName, |
Creates and initializes a new instance with the specified font name and size. | Fonts/SlateFontInfo.h | |
FSlateFontInfo
(
const ANSICHAR* InFontName, |
Creates and initializes a new instance with the specified font name and size. | Fonts/SlateFontInfo.h | |
FSlateFontInfo
(
const WIDECHAR* InFontName, |
Creates and initializes a new instance with the specified font name and size. | Fonts/SlateFontInfo.h | |
FSlateFontInfo
(
TSharedPtr< const FCompositeFont > InCompositeFont, |
Creates and initializes a new instance with the specified font, size, and emphasis. | Fonts/SlateFontInfo.h | |
FSlateFontInfo
(
const UObject* InFontObject, |
Creates and initializes a new instance with the specified font, size, and emphasis. | Fonts/SlateFontInfo.h | |
FSlateFontInfo
(
const FString& InFontName, |
Creates and initializes a new instance with the specified font name and size. | Fonts/SlateFontInfo.h |
FSlateFontInfo()
Description
Default constructor.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo()
FSlateFontInfo(const FName &, float, EFontHinting)
Description
Creates and initializes a new instance with the specified font name and size.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
const FName & InFontName,
float InSize,
EFontHinting InHinting
)
Parameters
| Name | Remarks |
|---|---|
| InFontName | The name of the font. |
| InSize | The size of the font. |
| InHinting | The type of hinting to use for the font. |
FSlateFontInfo(const ANSICHAR *, float, EFontHinting)
Description
Creates and initializes a new instance with the specified font name and size.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
const ANSICHAR * InFontName,
float InSize,
EFontHinting InHinting
)
Parameters
| Name | Remarks |
|---|---|
| InFontName | The name of the font. |
| InSize | The size of the font. |
| InHinting | The type of hinting to use for the font. |
FSlateFontInfo(const WIDECHAR *, float, EFontHinting)
Description
Creates and initializes a new instance with the specified font name and size.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
const WIDECHAR * InFontName,
float InSize,
EFontHinting InHinting
)
Parameters
| Name | Remarks |
|---|---|
| InFontName | The name of the font. |
| InSize | The size of the font. |
| InHinting | The type of hinting to use for the font. |
FSlateFontInfo(TSharedPtr< const FCompositeFont >, const float, const FName &, const FFontOutlineSettings &)
Description
Creates and initializes a new instance with the specified font, size, and emphasis.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
TSharedPtr < const FCompositeFont > InCompositeFont,
const float InSize,
const FName & InTypefaceFontName,
const FFontOutlineSettings & InOutlineSettings
)
Parameters
| Name | Remarks |
|---|---|
| InCompositeFont | The font instance to use. |
| InSize | The size of the font. |
| InTypefaceFontName | The name of the font to use from the default typeface (None will use the first entry) |
FSlateFontInfo(const UObject *, const float, const FName &, const FFontOutlineSettings &)
Description
Creates and initializes a new instance with the specified font, size, and emphasis.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
const UObject * InFontObject,
const float InSize,
const FName & InTypefaceFontName,
const FFontOutlineSettings & InOutlineSettings
)
Parameters
| Name | Remarks |
|---|---|
| InFontObject | The font instance to use. |
| InSize | The size of the font. |
| InFamilyFontName | The name of the font to use from the default typeface (None will use the first entry) |
FSlateFontInfo(const FString &, float, EFontHinting, const FFontOutlineSettings &)
Description
Creates and initializes a new instance with the specified font name and size.
| Name | FSlateFontInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h |
| Include Path | #include "Fonts/SlateFontInfo.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontInfo.cpp |
FSlateFontInfo
(
const FString & InFontName,
float InSize,
EFontHinting InHinting,
const FFontOutlineSettings & InOutlineSettings
)
Parameters
| Name | Remarks |
|---|---|
| InFontName | The name of the font. |
| InSize | The size of the font. |
| InHinting | The type of hinting to use for the font. |