FSlateIconFinder

Class used for finding icons within a registered set of styles

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateIconFinder.h

Include

#include "Styling/SlateIconFinder.h"

Syntax

class FSlateIconFinder

Remarks

Class used for finding icons within a registered set of styles

Functions

Name Description

Public function Static

const FSlate...

 

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

Public function Static

FSlateIcon

 

FindCustomIconForClass

(
    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

Public function Static

FSlateIcon

 

FindIcon

(
    const FName& InIconName
)

Find the first occurance of a brush represented by the specified IconName in any of the registered style sets

Public function Static

const FSlate...

 

FindIconBrushForClass

(
    const UClass* InClass,
    const FName& InDefaultName
)

Find a slate brush to use for the supplied class's icon

Public function Static

FSlateIcon

 

FindIconForClass

(
    const UClass* InClass,
    const FName& InDefaultName
)

Find the icon to use for the supplied class