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
&40;
FName SlotName,
UWidget &42; Content
&41;
Remarks
Sets the widget for a given slot by name.