Navigation
API > API/Editor > API/Editor/Persona
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- IPersonaViewport
References
| Module | Persona |
| Header | /Engine/Source/Editor/Persona/Public/IPersonaViewport.h |
| Include | #include "IPersonaViewport.h" |
Syntax
class IPersonaViewport : public SCompoundWidget
Remarks
Abstract viewport that can save and restore state
Functions
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< SWidget > | AddNotification
(
TAttribute< EMessageSeverity::Type > InSeverity, |
Add a notification widget | |
| void | AddOverlayWidget
(
TSharedRef< SWidget > InOverlaidWidget |
Overlay a widget over the whole viewport | |
| void | AddToolbarExtender
(
FName MenuToExtend, |
Adds an extender to the viewport's toolbar | |
| FPersonaViewportKeyDownDelegate & | Returns the delegate broadcasted two in case we have an unhandled key | ||
| TSharedRef< IPinnedCommandList > | Get the pinned commands list for this viewport | ||
| FEditorViewportClient & | Get the viewport client contained within this viewport | ||
| void | RemoveNotification
(
const TWeakPtr< SWidget >& InContainingWidget |
Remove a notification widget | |
| void | RemoveOverlayWidget
(
TSharedRef< SWidget > InOverlaidWidget |
Remove an overlay widget from the viewport | |
| void | RestoreState
(
TSharedRef< IPersonaViewportState > InState |
Restore the viewport state | |
| TSharedRef< IPersonaViewportState > | SaveState () |
Save the viewport state |