Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/PanelWidget.h |
Include |
#include "Components/PanelWidget.h" |
Source |
/Engine/Source/Runtime/UMG/Private/Components/PanelWidget.cpp |
Swaps the child widget out of the slot, and replaces it with the new child widget.
true if the CurrentChild was found and the swap occurred, otherwise false.
Parameter |
Description |
---|---|
CurrentChild |
The existing child widget being removed. |
NewChild |
The new child widget being inserted. |