Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UWidgetTree
- INamedSlotInterface::SetContentForSlot()
- UWidgetTree::SetContentForSlot()
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h |
| Include | #include "Blueprint/WidgetTree.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetTree.cpp |
virtual void SetContentForSlot
(
FName SlotName,
UWidget * Content
)
Remarks
Sets the widget for a given slot by name.