FSlateIcon::GetOptionalIcon

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

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 * GetOptionalIcon() const

Remarks

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

Returns

Icon brush, or nullptr if the icon wasn't 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