Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Textures/SlateIcon.h |
Include |
#include "Textures/SlateIcon.h" |
struct FSlateIcon
Struct used to represent an icon in Slate
Name | Description | |
---|---|---|
|
FSlateIcon() |
Default constructor (empty icon). |
|
FSlateIcon |
Creates and initializes a new icon from a style set and style name |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetIcon() |
Gets the resolved icon. |
|
const FSlate... |
GetOptionalIcon() |
Optionally gets the resolved icon, returning nullptr if it's not defined |
|
const FSlate... |
GetOptionalSmallIcon() |
Optionally gets the resolved small icon, returning nullptr if it's not defined |
|
const FSlate... |
GetOverlayIcon() |
|
|
const FSlate... |
GetSmallIcon() |
Gets the resolved small icon. |
|
const FName ... |
GetSmallStyleName() |
Gets the name of the style for the icon. |
|
const FName ... |
GetStyleName() |
Gets the name of the style for the icon. |
|
const ISlate... |
GetStyleSet() |
Gets the resolved style set. |
|
const FName ... |
GetStyleSetName() |
Gets the name of the style set the icon can be found in. |
|
const bool |
IsSet() |
Checks whether the icon is set to something. |