FSlateIconFinder::FindCustomIconForClass

Find a custom icon to use for the supplied class, according to the specified base style

Windows
MacOS
Linux

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

Syntax

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

Returns

An FSlateIcon structure defining the class's icon

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss