![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NamedSlotInterface.h>
Inheritance diagram for INamedSlotInterface:Public Member Functions | |
| virtual void | GetSlotNames (TArray< FName > &SlotNames) const =0 |
| virtual UWidget * | GetContentForSlot (FName SlotName) const =0 |
| virtual void | SetContentForSlot (FName SlotName, UWidget *Content)=0 |
| UMG_API bool | ContainsContent (UWidget *Content) const |
| UMG_API FName | FindSlotForContent (UWidget *Content) const |
| UMG_API void | ReleaseNamedSlotSlateResources (bool bReleaseChildren) |
Determines if any slot holds the given widget.
Determines if any slot holds the given widget and the name of that slot.
Gets the widget for a given slot by name, will return nullptr if no widget is in the slot.
Implemented in UUserWidget, UWidgetTree, and UExpandableArea.
Gets the names for slots that we can store widgets into.
Implemented in UUserWidget, UWidgetTree, and UExpandableArea.
Releases named slot related resources.
|
pure virtual |
Sets the widget for a given slot by name.
Implemented in UUserWidget, UWidgetTree, and UExpandableArea.