Navigation
API > API/Runtime > API/Runtime/PreLoadScreen
Widget that displays a very simple version of a FPreLoadScreen UI that just includes a background and localized text together. Rotates through the PreLoadScreens in the same order they are in the FPreLoadSettingsContainerBase. Uses the TimeToDisplayEachBackground variable to determine how long to display each screen before rotating. Loops back when finished.
| Name | SSimplePreLoadScreenWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/PreLoadScreen/Public/SimplePreLoadScreenWidget.h |
| Include Path | #include "SimplePreLoadScreenWidget.h" |
Syntax
class SSimplePreLoadScreenWidget : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SSimplePreLoadScreenWidget
- FSlateControlledConstruction → SWidget → SCompoundWidget → SSimplePreLoadScreenWidget
Structs
| Name | Remarks |
|---|---|
| FArguments |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BackgroundImageCrit | FCriticalSection | SimplePreLoadScreenWidget.h | |
| CurrentBackgroundImage | int | SimplePreLoadScreenWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentPreLoadScreenIndex | int | SimplePreLoadScreenWidget.h | ||
| TimeSinceLastBackgroundUpdate | float | SimplePreLoadScreenWidget.h | ||
| TimeToDisplayEachBackground | float | SimplePreLoadScreenWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SimplePreLoadScreenWidget.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
const FGeometry& AllottedGeometry, |
Handles updating the background every X seconds. | SimplePreLoadScreenWidget.h |