Interface used to register and show loading splash screen layers. 更多...
#include <IXRLoadingScreen.h>
类 IXRLoadingScreen 继承关系图:类 | |
| struct | FSplashDesc |
| Structure describing the visual appearance of a single loading splash. 更多... | |
Public 成员函数 | |
| virtual void | AddSplash (const FSplashDesc &Splash)=0 |
| Registers a splash to be shown while the loading screen is active. 更多... | |
| virtual void | ClearSplashes ()=0 |
| Removes all splashes. 更多... | |
| virtual void | HideLoadingScreen ()=0 |
| Hides the loading screen. | |
| virtual bool | IsShown () const =0 |
| Returns whether the loading screen is currently active or not. | |
| virtual void | ShowLoadingScreen ()=0 |
| Activates the loading screen. 更多... | |
静态 Public 成员函数 | |
| static void | ShowLoadingScreen_Compat (bool bShow, FTexture2DRHIRef Texture, const FVector &Offset, const FVector2D &Scale) |
| Internal utility method for implementing backwards compatibility with IStereoLayers::Show/HideSplashScreen. 更多... | |
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.
|
pure virtual |
Registers a splash to be shown while the loading screen is active.
| Splash | The settings for the new splash. |
在 TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.
|
pure virtual |
Removes all splashes.
Use this to replace the existing splashes before calling AddSplash.
在 TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.
|
pure virtual |
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.
在 TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.
|
static |
Internal utility method for implementing backwards compatibility with IStereoLayers::Show/HideSplashScreen.
Should be called from implementations overriding IStereoLayer::UpdateSplashScreen()