IPreLoadScreen

Interface that defines the class that handles all the logic for controlling / displaying a particular PreLoadScreen.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PreLoadScreen

Header

/Engine/Source/Runtime/PreLoadScreen/Public/PreLoadScreen.h

Include

#include "PreLoadScreen.h"

Syntax

class IPreLoadScreen

Remarks

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

Destructors

Name Description

Public function Virtual

~IPreLoadScreen()

Functions

Name Description

Public function

void

 

CleanUp()

Public function

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.

Public function Const

FName

 

GetPreLoadScreenTag()

Allows the PreLoadScreen to register a tag that can be later used to find a specific loading screen.

Public function Const

EPreLoadScre...

 

GetPreLoadScreenType()

Should override this function to determine if this screen should be used to handle EarlyStartupScreen behavior @note IMPORTANT: This changes a LOT of functionality and implementation details.

Public function Const

const TShare...

 

GetWidget()

Public function

TSharedPtr< ...

 

GetWidget()

Public function

void

 

Init()

Public function Const

bool

 

IsDone()

Returns true when the PreLoadScreen is completed. @note This need to be thread safe

Public function

void

 

OnPlay

(
    TWeakPtr< SWindow > TargetWindow
)

Callback for when a PreLoadScreen starts being displayed.

Public function

void

 

OnStop()

Callback for when a PreLoadScreen is no longer being displayed.

Public function

void

 

RenderTick

(
    float DeltaTime
)

This tick happens as part of the slate render tick during an EarlyStartupLoadScreen @note Called on the render thread

Public function

void

 

SetEngineLoadingFinished

(
    bool IsEngineLoadingFinished
)

IsDone when GetPreLoadScreenType() returns EPreLoadScreenTypes::EngineLoadingScreen

Public function Const

bool

 

ShouldRender()

Whether an EarlyStartupLoadScreen should render

Public function

void

 

Tick

(
    float DeltaTime
)

Standard tick that happens every frame

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss