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