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

Spectator Screen Controller interface 更多...

#include <ISpectatorScreenController.h>

+ 类 ISpectatorScreenController 继承关系图:

Public 成员函数

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 更多...
 

详细描述

Spectator Screen Controller interface

This is the interface to control the spectator screen, on platforms that support it.

成员函数说明

◆ SetSpectatorScreenMode()

virtual void ISpectatorScreenController::SetSpectatorScreenMode ( ESpectatorScreenMode  Mode)
pure virtual

Sets the social screen mode.

参数
Mode(in) The social screen Mode.

在 FDefaultSpectatorScreenController 内被实现.

◆ SetSpectatorScreenModeTexturePlusEyeLayout()

virtual void ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout ( const FSpectatorScreenModeTexturePlusEyeLayout &  Layout)
pure virtual

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.

在 FDefaultSpectatorScreenController 内被实现.

◆ SetSpectatorScreenTexture()

virtual void ISpectatorScreenController::SetSpectatorScreenTexture ( UTexture *  InTexture)
pure virtual

Change the texture displayed on the social screen

参数
InTexturenew Texture2D

在 FDefaultSpectatorScreenController 内被实现.


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