Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling > API/Runtime/SlateCore/Styling/FSlateIconFinder
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateIconFinder.h |
| Include | #include "Styling/SlateIconFinder.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Styling/SlateIconFinder.cpp |
static FSlateIcon FindCustomIconForClass
(
const UClass * InClass,
const TCHAR * StyleBasePath,
const FName & InDefaultName
)
Remarks
Find a custom icon to use for the supplied class, according to the specified base style An FSlateIcon structure defining the class's icon
Parameters
| Name | Description |
|---|---|
| InClass | The class to locate an icon for |
| InStyleBasePath | Style base path to use for the search (e.g. ClassIcon, or ClassThumbnail) |
| InDefaultName | The default icon name to use, if no specialized icon could be found |