engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FSlateIconFinder类 参考

Class used for finding icons within a registered set of styles 更多...

#include <SlateIconFinder.h>

静态 Public 成员函数

static const FSlateBrush * FindCustomIconBrushForClass (const UClass *InClass, const TCHAR *StyleBasePath, const FName &InDefaultName=FName())
 Find a custom icon to use for the supplied class, according to the specified base style 更多...
 
static FSlateIcon FindCustomIconForClass (const UClass *InClass, const TCHAR *StyleBasePath, const FName &InDefaultName=FName())
 Find a custom icon to use for the supplied class, according to the specified base style 更多...
 
static FSlateIcon FindIcon (const FName &InIconName)
 Find the first occurance of a brush represented by the specified IconName in any of the registered style sets 更多...
 
static const FSlateBrush * FindIconBrushForClass (const UClass *InClass, const FName &InDefaultName=FName())
 Find a slate brush to use for the supplied class's icon 更多...
 
static FSlateIcon FindIconForClass (const UClass *InClass, const FName &InDefaultName=FName())
 Find the icon to use for the supplied class 更多...
 

详细描述

Class used for finding icons within a registered set of styles

成员函数说明

◆ FindCustomIconBrushForClass()

static const FSlateBrush * FSlateIconFinder::FindCustomIconBrushForClass ( const UClass *  InClass,
const TCHAR *  StyleBasePath,
const FName &  InDefaultName = FName() 
)
inlinestatic

Find a custom icon to use for the supplied class, according to the specified base style

参数
InClassThe class to locate an icon for
InStyleBasePathStyle base path to use for the search (e.g. ClassIcon, or ClassThumbnail)
InDefaultNameThe default icon name to use, if no specialized icon could be found
返回
A slate brush, or nullptr if no icon was found

◆ FindCustomIconForClass()

static FSlateIcon FSlateIconFinder::FindCustomIconForClass ( const UClass *  InClass,
const TCHAR *  StyleBasePath,
const FName &  InDefaultName = FName() 
)
static

Find a custom icon to use for the supplied class, according to the specified base style

参数
InClassThe class to locate an icon for
InStyleBasePathStyle base path to use for the search (e.g. ClassIcon, or ClassThumbnail)
InDefaultNameThe default icon name to use, if no specialized icon could be found
返回
An FSlateIcon structure defining the class's icon

◆ FindIcon()

static FSlateIcon FSlateIconFinder::FindIcon ( const FName &  InIconName)
static

Find the first occurance of a brush represented by the specified IconName in any of the registered style sets

参数
InIconNameThe fully qualified style name of the icon to find
返回
An FSlateIcon structure

◆ FindIconBrushForClass()

static const FSlateBrush * FSlateIconFinder::FindIconBrushForClass ( const UClass *  InClass,
const FName &  InDefaultName = FName() 
)
inlinestatic

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

参数
InClassThe class to locate an icon for
InDefaultNameThe default icon name to use, if no specialized icon could be found
返回
A slate brush, or nullptr if no icon was found

◆ FindIconForClass()

static FSlateIcon FSlateIconFinder::FindIconForClass ( const UClass *  InClass,
const FName &  InDefaultName = FName() 
)
static

Find the icon to use for the supplied class

参数
InClassThe class to locate an icon for
InDefaultNameThe default icon name to use, if no specialized icon could be found
返回
An FSlateIcon structure defining the class's icon

该类的文档由以下文件生成: