FSlateIconFinder::FindIconBrushForClass

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

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateIconFinder.h"

Syntax

static const FSlateBrush * FindIconBrushForClass
(
    const UClass * InClass,
    const FName & InDefaultName
)

Remarks

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

Returns

A slate brush, or nullptr if no icon was found

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