FSlateIcon::GetOptionalSmallIcon

Optionally gets the resolved small icon, returning nullptr if it's not defined

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/SlateIcon.h

Include

#include "Textures/SlateIcon.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Textures/SlateIcon.cpp

Syntax

const FSlateBrush * GetOptionalSmallIcon() const

Remarks

Optionally gets the resolved small icon, returning nullptr if it's not defined

Returns

Icon brush, or nullptr if the icon wasn't found.