Navigation
API > API/Runtime > API/Runtime/GameMenuBuilder > API/Runtime/GameMenuBuilder/SGameMenuPageWidget
Description
Rebuild the widgets in the main menu widget. Selected item will be set from InPreviousIndex unless it is invalid.
| Name | BuildPanelButtons |
| Type | function |
| Header File | /Engine/Source/Runtime/GameMenuBuilder/Public/SGameMenuPageWidget.h |
| Include Path | #include "SGameMenuPageWidget.h" |
| Source | /Engine/Source/Runtime/GameMenuBuilder/Private/SGameMenuPageWidget.cpp |
void BuildPanelButtons
(
TSharedPtr < FGameMenuPage > InPanel,
TSharedPtr < SVerticalBox > InBox,
int32 InPreviousIndex
)
Parameters
| Name | Remarks |
|---|---|
| InPanel | The FGameMenuPage we are building the panel from. |
| InBox | The SVerticalBox in which to build the widgets from the given panel. |
| PreviousIndex | The previous menu index. (Can be INDEX_NONE) |