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

Default implementation of spectator screen controller. 更多...

#include <DefaultSpectatorScreenController.h>

+ 类 FDefaultSpectatorScreenController 继承关系图:

Public 成员函数

virtual UTexture * GetSpectatorScreenTexture () const override
 Get the texture that would currently be displayed on the social screen (if in a mode that does that)
 
virtual void SetSpectatorScreenMode (ESpectatorScreenMode Mode) override
 Sets the social screen mode. 更多...
 
virtual void SetSpectatorScreenModeTexturePlusEyeLayout (const FSpectatorScreenModeTexturePlusEyeLayout &Layout) override
 Setup the layout for ESpectatorScreenMode::TexturePlusEye. 更多...
 
virtual void SetSpectatorScreenTexture (UTexture *InTexture) override
 Change the texture displayed on the social screen 更多...
 
virtual UTexture * GetSpectatorScreenTexture () const
 Get the texture that would currently be displayed on the social screen (if in a mode that does that)
 
virtual void SetSpectatorScreenMode (ESpectatorScreenMode Mode)=0
 Sets the social screen mode. 更多...
 
virtual void SetSpectatorScreenModeTexturePlusEyeLayout (const FSpectatorScreenModeTexturePlusEyeLayout &Layout)=0
 Setup the layout for ESpectatorScreenMode::TexturePlusEye. 更多...
 
virtual void SetSpectatorScreenTexture (UTexture *InTexture)=0
 Change the texture displayed on the social screen 更多...
 
- Public 成员函数 继承自 TSharedFromThis< FDefaultSpectatorScreenController, ESPMode::ThreadSafe >
TSharedRef< FDefaultSpectatorScreenController, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< FDefaultSpectatorScreenController const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< FDefaultSpectatorScreenController, ESPMode::ThreadSafe >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 
- 静态 Protected 成员函数 继承自 TSharedFromThis< FDefaultSpectatorScreenController, ESPMode::ThreadSafe >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 

详细描述

Default implementation of spectator screen controller.

成员函数说明

◆ SetSpectatorScreenMode()

virtual void FDefaultSpectatorScreenController::SetSpectatorScreenMode ( ESpectatorScreenMode  Mode)
overridevirtual

Sets the social screen mode.

参数
Mode(in) The social screen Mode.

实现了 ISpectatorScreenController.

◆ SetSpectatorScreenModeTexturePlusEyeLayout()

virtual void FDefaultSpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout ( const FSpectatorScreenModeTexturePlusEyeLayout &  Layout)
overridevirtual

Setup the layout for ESpectatorScreenMode::TexturePlusEye.

参数
EyeRectMinmin of screen rectangle the eye will be drawn in. 0-1 normalized.
EyeRectMaxmax of screen rectangle the eye will be drawn in. 0-1 normalized.
TextureRectMinmin of screen rectangle the texture will be drawn in. 0-1 normalized.
TextureRectMaxmax of screen rectangle the texture will be drawn in. 0-1 normalized.
bDrawEyeFirstif true the eye is drawn before the texture, if false the reverse.
bClearBlackif true the render target will be drawn black before either rect is drawn.

实现了 ISpectatorScreenController.

◆ SetSpectatorScreenTexture()

virtual void FDefaultSpectatorScreenController::SetSpectatorScreenTexture ( UTexture *  InTexture)
overridevirtual

Change the texture displayed on the social screen

参数
InTexturenew Texture2D

实现了 ISpectatorScreenController.


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