Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint > UUserWidget
- INamedSlotInterface::SetContentForSlot()
- UUserWidget::SetContentForSlot()
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
Include | #include "Blueprint/UserWidget.h" |
Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
virtual void SetContentForSlot
&40;
FName SlotName,
UWidget &42; Content
&41;
Remarks
Sets the widget for a given slot by name.