engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FNotificationInfo结构体 参考

Setup class to initialize a notification. 更多...

#include <SNotificationList.h>

Public 成员函数

 FNotificationInfo (const FText &InText)
 FNotifcationInfo initialization constructor 更多...
 
 FNotificationInfo (TSharedPtr< INotificationWidget > InContentWidget)
 FNotifcationInfo initialization constructor 更多...
 

Public 属性

bool bAllowThrottleWhenFrameRateIsLow
 True if we should throttle the editor while the notification is transitioning and performance is poor, to make sure the user can see the animation
 
bool bFireAndForget
 When true the notification will automatically time out after the expire duration.
 
bool bUseLargeFont
 When true the larger bolder font will be used to display the message
 
bool bUseSuccessFailIcons
 Controls whether or not to display the success and fail icons
 
bool bUseThrobber
 Controls whether or not to add the animated throbber
 
TArray< FNotificationButtonInfo > ButtonDetails
 Setup information for the buttons on the notification
 
TAttribute< ECheckBoxState > CheckBoxState
 When set this will display a check box on the notification; handles getting the current check box state
 
FOnCheckStateChanged CheckBoxStateChanged
 When set this will display a check box on the notification; handles setting the new check box state
 
TAttribute< FText > CheckBoxText
 Text to display for the check box message
 
TSharedPtr< INotificationWidget > ContentWidget
 If set, overrides the entire content of the notification with this widget
 
float ExpireDuration
 The duration before a fadeout for this element
 
float FadeInDuration
 The fade in duration for this element
 
float FadeOutDuration
 The fade out duration for this element
 
FSimpleDelegate Hyperlink
 When set this will display as a hyperlink on the right side of the notification.
 
TAttribute< FText > HyperlinkText
 Text to display for the hyperlink message
 
const FSlateBrush * Image
 The icon image to display next to the text
 
FText Text
 The text displayed in this text block
 
FOptionalSize WidthOverride
 When set this forces the width of the box, used to stop resizing on text change
 

详细描述

Setup class to initialize a notification.

构造及析构函数说明

◆ FNotificationInfo() [1/2]

FNotificationInfo::FNotificationInfo ( const FText &  InText)
inline

FNotifcationInfo initialization constructor

参数
InTextText string to display for this notification

◆ FNotificationInfo() [2/2]

FNotificationInfo::FNotificationInfo ( TSharedPtr< INotificationWidget >  InContentWidget)
inline

FNotifcationInfo initialization constructor

参数
InContentWidgetThe content of the notification

该结构体的文档由以下文件生成: