FSlateIcon::FSlateIcon

Creates and initializes a new icon from a style set and style name

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

FSlateIcon
(
    const FName & InStyleSetName,
    const FName & InStyleName,
    const FName & InSmallStyleName
)

Remarks

Creates and initializes a new icon from a style set and style name

Parameters

Parameter

Description

InStyleSetName

The name of the style set the icon can be found in.

StyleName

The name of the style for the icon

InSmallStyleName

The name of the style for the small icon

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss