![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IXRLoadingScreen.h>
Classes | |
| struct | FSplashDesc |
Public Member Functions | |
| virtual | ~IXRLoadingScreen () |
| virtual void | ClearSplashes ()=0 |
| virtual void | AddSplash (const FSplashDesc &Splash)=0 |
| virtual void | ShowLoadingScreen ()=0 |
| virtual void | HideLoadingScreen ()=0 |
| virtual bool | IsShown () const =0 |
| virtual bool | IsPlayingLoadingMovie () const =0 |
Static Public Member Functions | |
| static HEADMOUNTEDDISPLAY_API void | ShowLoadingScreen_Compat (bool bShow, FTextureRHIRef Texture, const FVector &Offset, const FVector2D &Scale) |
Interface used to register and show loading splash screen layers. A loading screen consists of one or more splash layers shown instead of the current scene during level load.
To reduce duplicated code, implementations should use the FXRLoadingScreenBase of FDefaultXRLoadingScreen instead of implementing this interface directly.
|
inlinevirtual |
|
pure virtual |
Registers a splash to be shown while the loading screen is active.
| Splash | The settings for the new splash. |
Removes all splashes. Use this to replace the existing splashes before calling AddSplash.
Returns whether a loading movie is playing or not.
Returns whether the loading screen is currently active or not.
Activates the loading screen. If called while the loading screen is active, this will reinitialize the positions of all splashes according to the current HMD pose.
|
static |
Internal utility method for implementing backwards compatibility with IStereoLayers::Show/HideSplashScreen. Should be called from implementations overriding IStereoLayer::UpdateSplashScreen()