Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h |
Include |
#include "Engine/GameViewportClient.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp |
virtual void AddViewportWidgetContent
(
TSharedRef< class SWidget > ViewportContent,
const int32 ZOrder
)
Adds a widget to the Slate viewport's overlay (i.e for in game UI or tools) at the specified Z-order
Parameter |
Description |
---|---|
ViewportContent |
The widget to add. Must be valid. |
ZOrder |
The Z-order index for this widget. Larger values will cause the widget to appear on top of widgets with lower values. |