Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UPanelWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/PanelWidget.h |
| Include | #include "Components/PanelWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/PanelWidget.cpp |
bool ReplaceChildAt
(
int32 Index,
UWidget * Content
)
Remarks
Swaps the widget out of the slot at the given index, replacing it with a different widget. true if the index existed and the child could be replaced.
Parameters
| Name | Description |
|---|---|
| Index | the index at which to replace the child content with this new Content. |
| Content | The content to replace the child with. |