ULimenLoadingScreenWidget
Overview
ULimenLoadingScreenWidget is a subclass of ULimenBaseHudWidget designed to manage the display and hiding of a loading screen. It listens for PSO (Pipeline State Object) batching updates from the ULimenLevelTransitionSubsystem to update its visibility accordingly.
Properties
Type | Name | Access | Description |
|---|---|---|---|
bool | bIsShowing | Private | Tracks whether the widget is currently showing. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | NativeConstruct() | Initializes the widget and subscribes to PSO batching updates. |
bool | IsShowing() const | Returns true if the widget is visible and |
bool | IsHiding() const | Returns true if the widget is hidden or |
void | NativeDestruct() | Unsubscribes from PSO batching updates before destruction. |
void | PSOBatchingUpdated(const int32 Total, const int32 Left) | Blueprint native event to handle PSO batching updates. Default implementation does nothing. |
void | ShowWidgetMethod() | Shows the widget on the viewport and sets |
void | HideWidgetMethod() | Hides the widget from the viewport and sets |
Usage & Implementation Notes
The widget is set to persist between level changes by overriding
ShowWidgetMethod()andHideWidgetMethod().It subscribes to PSO batching updates in
NativeConstruct()and unsubscribes inNativeDestruct().