engine
 
载入中...
搜索中...
未找到
类 | Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
IXRLoadingScreen类 参考abstract

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.

成员函数说明

◆ AddSplash()

virtual void IXRLoadingScreen::AddSplash ( const FSplashDesc &  Splash)
pure virtual

Registers a splash to be shown while the loading screen is active.

参数
SplashThe settings for the new splash.

在 TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.

◆ ClearSplashes()

virtual void IXRLoadingScreen::ClearSplashes ( )
pure virtual

Removes all splashes.

Use this to replace the existing splashes before calling AddSplash.

在 TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.

◆ ShowLoadingScreen()

virtual void IXRLoadingScreen::ShowLoadingScreen ( )
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 > 内被实现.

◆ ShowLoadingScreen_Compat()

static void IXRLoadingScreen::ShowLoadingScreen_Compat ( bool  bShow,
FTexture2DRHIRef  Texture,
const FVector &  Offset,
const FVector2D &  Scale 
)
static

Internal utility method for implementing backwards compatibility with IStereoLayers::Show/HideSplashScreen.

Should be called from implementations overriding IStereoLayer::UpdateSplashScreen()


该类的文档由以下文件生成: