Navigation
API > API/Runtime > API/Runtime/GameMenuBuilder
Simple class to contain the menu panels/animations.
| Name | FMenuPanel |
| Type | class |
| Header File | /Engine/Source/Runtime/GameMenuBuilder/Public/SGameMenuPageWidget.h |
| Include Path | #include "SGameMenuPageWidget.h" |
Syntax
class FMenuPanel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMenuPanel() |
SGameMenuPageWidget.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationHandle | FCurveHandle | Animation curve/handle for panel animation. | SGameMenuPageWidget.h | |
| CurrentState | EPanelState::Type | The current state of the panel. | SGameMenuPageWidget.h | |
| OnStateChanged | FPanelStateChanged | Delegate called when the panel becomes open or closed. | SGameMenuPageWidget.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationSequence | FCurveSequence | Animation sequence used to open or close the panel. | SGameMenuPageWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClosePanel
(
TSharedRef< SWidget > OwnerWidget |
Close the panel | SGameMenuPageWidget.h | |
void ForcePanelClosed() |
Force the panel to be fully closed. | SGameMenuPageWidget.h | |
void ForcePanelOpen() |
Force the panel to be fully open. | SGameMenuPageWidget.h | |
void OpenPanel
(
TSharedRef< SWidget > OwnerWidget |
Open the panel | SGameMenuPageWidget.h | |
void SetStyle
(
const FGameMenuStyle* InStyle |
SGameMenuPageWidget.h | ||
void Tick
(
float Delta |
SGameMenuPageWidget.h |