Navigation
API > API/Editor > API/Editor/Persona > API/Editor/Persona/IPersonaViewport
References
| Module | Persona |
| Header | /Engine/Source/Editor/Persona/Public/IPersonaViewport.h |
| Include | #include "IPersonaViewport.h" |
TWeakPtr< SWidget > AddNotification
&40;
TAttribute< EMessageSeverity::Type > InSeverity,
TAttribute< bool > InCanBeDismissed,
const TSharedRef< SWidget > & InNotificationWidget,
FPersonaViewportNotificationOptions InOptions
&41;
Remarks
Add a notification widget the widget containing the notification
Parameters
| Name | Description |
|---|---|
| InSeverity | The severity of the message |
| InCanBeDismissed | Whether the message can be manually dismissed |
| InNotificationWidget | The widget showing the notification |
| InOptions | Specify GetVisibility callback and other optional callback overrides |