FSlateIconFinder::FindIconForClass

Find the icon to use for the supplied class

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 FindIconForClass
(
    const UClass * InClass,
    const FName & InDefaultName
)

Remarks

Find the icon to use for the supplied class

Returns

An FSlateIcon structure defining the class's icon

Parameters

Parameter

Description

InClass

The class to locate an icon for

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