Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/SlateIconFinder.h |
Include |
#include "Styling/SlateIconFinder.h" |
static const FSlateBrush * FindCustomIconBrushForClass
(
const UClass * InClass,
const TCHAR * StyleBasePath,
const FName & InDefaultName
)
Find a custom icon to use for the supplied class, according to the specified base style
A slate brush, or nullptr if no icon was found
Parameter |
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 |