engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
TXRLoadingScreenBase< SplashType > 模板类 参考abstract

Base utility class for implementations of the IXRLoadingScreen interface 更多...

#include <XRLoadingScreenBase.h>

+ 类 TXRLoadingScreenBase< SplashType > 继承关系图:

Public 成员函数

virtual void AddSplash (const FSplashDesc &Splash) override
 Registers a splash to be shown while the loading screen is active. 更多...
 
virtual void ClearSplashes () override
 Removes all splashes. 更多...
 
virtual void HideLoadingScreen () override
 Hides the loading screen.
 
virtual bool IsShown () const override
 Returns whether the loading screen is currently active or not.
 
virtual void ShowLoadingScreen () override
 Activates the loading screen. 更多...
 
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. 更多...
 

Protected 成员函数

virtual TStatId GetStatId () const override
 return the stat id to use for this tickable
 
virtual bool IsTickable () const override
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
virtual void Tick (float DeltaTime) override
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
- Protected 成员函数 继承自 FTickableObjectRenderThread
 FTickableObjectRenderThread (bool bRegisterImmediately=true, bool bInHighFrequency=false)
 Registers this instance with the static array of tickable objects. 更多...
 
virtual TStatId GetStatId () const =0
 return the stat id to use for this tickable
 
virtual bool IsTickable () const =0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
virtual bool NeedsRenderingResumedForRenderingThreadTick () const
 Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function. 更多...
 
void Register (bool bIsRenderingThreadObject=false)
 Registers the object for ticking. 更多...
 
virtual void Tick (float DeltaTime)=0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
virtual ~FTickableObjectRenderThread ()
 Removes this instance from the static array of tickable objects.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 IXRLoadingScreen
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. 更多...
 

详细描述

template<typename SplashType>
class TXRLoadingScreenBase< SplashType >

Base utility class for implementations of the IXRLoadingScreen interface

成员函数说明

◆ AddSplash()

template<typename SplashType >
virtual void TXRLoadingScreenBase< SplashType >::AddSplash ( const FSplashDesc &  Splash)
inlineoverridevirtual

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

参数
SplashThe settings for the new splash.

实现了 IXRLoadingScreen.

◆ ClearSplashes()

template<typename SplashType >
virtual void TXRLoadingScreenBase< SplashType >::ClearSplashes ( )
inlineoverridevirtual

Removes all splashes.

Use this to replace the existing splashes before calling AddSplash.

实现了 IXRLoadingScreen.

◆ IsTickable()

template<typename SplashType >
virtual bool TXRLoadingScreenBase< SplashType >::IsTickable ( ) const
inlineoverrideprotectedvirtual

Pure virtual that must be overloaded by the inheriting class.

It is used to determine whether an object is ready to be ticked. This is required for example for all UObject derived classes as they might be loaded async and therefore won't be ready immediately.

返回
true if class is ready to be ticked, false otherwise.

实现了 FTickableObjectRenderThread.

◆ ShowLoadingScreen()

template<typename SplashType >
virtual void TXRLoadingScreenBase< SplashType >::ShowLoadingScreen ( )
inlineoverridevirtual

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.

实现了 IXRLoadingScreen.

◆ Tick()

template<typename SplashType >
virtual void TXRLoadingScreenBase< SplashType >::Tick ( float  DeltaTime)
inlineoverrideprotectedvirtual

Pure virtual that must be overloaded by the inheriting class.

It will be called from within LevelTick.cpp after ticking all actors or from the rendering thread (depending on bIsRenderingThreadObject)

参数
DeltaTimeGame time passed since the last call.

实现了 FTickableObjectRenderThread.


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