| IPreLoadScreen
|
Module |
|
Header |
/Engine/Source/Runtime/PreLoadScreen/Public/PreLoadScreen.h |
Include |
#include "PreLoadScreen.h" |
class IPreLoadScreen
Interface that defines the class that handles all the logic for controlling / displaying a particular PreLoadScreen. Designed to be implemented in a Plugin that calls FPreLoadScreenManager::RegisterPreLoadScreen so that functions are called by PreLoadScreenManager correctly. Really should probably inherit from FPreLoadScreenBase instead of this class for more functionality
Name | Description | |
---|---|---|
|
~IPreLoadScreen() |
Name | Description | ||
---|---|---|---|
|
CleanUp() |
||
|
float |
GetAddedTickDelay() |
This function is used to determine if an extra platform sleep should be performed every tick (to slow down the tick rate) keeps us from spinning super fast when we aren't doing much beyond loading data / etc on other threads. |
|
GetPreLoadScreenTag() |
Allows the PreLoadScreen to register a tag that can be later used to find a specific loading screen. |
|
|
EPreLoadScre... |
GetPreLoadScreenType() |
Should override this function to determine if this screen should be used to handle EarlyStartupScreen behavior IMPORTANT: This changes a LOT of functionality and implementation details. |
|
const TShare... |
GetWidget() |
|
|
TSharedPtr< ... |
GetWidget() |
|
|
Init() |
||
|
IsDone() |
||
|
OnPlay |
Callback for when a PreLoadScreen starts being displayed. Provides a reference to the SWindow that will be used to display content. |
|
|
OnStop() |
Callback for when a PreLoadScreen is no longer being displayed. |
|
|
RenderTick ( |
This tick happens as part of the slate render tick during an EarlyStartupLoadScreen. |
|
|
SetEngineLoadingFinished ( |
||
|
ShouldRender() |
Whether an EarlyStartupLoadScreen should render. |
|
|
Tick ( |
Standard tick that happens every frame. |