Navigation
Unreal Engine C++ API Reference > Editor > EditorFramework > Toolkits > IToolkitHost
References
Module | EditorFramework |
Header | /Engine/Source/Editor/EditorFramework/Public/Toolkits/IToolkitHost.h |
Include | #include "Toolkits/IToolkitHost.h" |
virtual void AddViewportOverlayWidget ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > InOverlaidWidget, [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IAssetViewport](API\Editor\UnrealEd\IAssetViewport) > InViewport )
Remarks
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