Navigation
API > API/Editor > API/Editor/EditorFramework > API/Editor/EditorFramework/IToolkitHost
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddViewportOverlayWidget
(
TSharedRef< SWidget > InOverlaidWidget, |
Allows Toolkits to push widgets to the viewport. | Toolkits/IToolkitHost.h | |
virtual void AddViewportOverlayWidget
(
TSharedRef< SWidget > InOverlaidWidget, |
Allows Toolkits to push widgets to the viewport with a specific Z-Order. | Toolkits/IToolkitHost.h |
AddViewportOverlayWidget(TSharedRef< SWidget >, TSharedPtr< IAssetViewport >)
Description
Allows Toolkits to push widgets to the viewport. Passing a nullptr for the Viewport will add or remove the OverlayWidget to or from the ActiveViewport
| Name | AddViewportOverlayWidget |
| Type | function |
| Header File | /Engine/Source/Editor/EditorFramework/Public/Toolkits/IToolkitHost.h |
| Include Path | #include "Toolkits/IToolkitHost.h" |
virtual void AddViewportOverlayWidget
(
TSharedRef < SWidget > InOverlaidWidget,
TSharedPtr < IAssetViewport > InViewport
)
AddViewportOverlayWidget(TSharedRef< SWidget >, int32, TSharedPtr< IAssetViewport >)
Description
Allows Toolkits to push widgets to the viewport with a specific Z-Order. Passing a nullptr for the Viewport will add or remove the OverlayWidget to or from the ActiveViewport
| Name | AddViewportOverlayWidget |
| Type | function |
| Header File | /Engine/Source/Editor/EditorFramework/Public/Toolkits/IToolkitHost.h |
| Include Path | #include "Toolkits/IToolkitHost.h" |
virtual void AddViewportOverlayWidget
(
TSharedRef < SWidget > InOverlaidWidget,
int32 ZOrder,
TSharedPtr < IAssetViewport > InViewport
)