Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay
Spectator Screen Controller interface
This is the interface to control the spectator screen, on platforms that support it.
| Name | ISpectatorScreenController |
| Type | class |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/ISpectatorScreenController.h |
| Include Path | #include "ISpectatorScreenController.h" |
Syntax
class ISpectatorScreenController : public IModularFeature
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISpectatorScreenController() |
ISpectatorScreenController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ESpectatorScreenMode GetSpectatorScreenMode() |
ISpectatorScreenController.h | ||
virtual UTexture * GetSpectatorScreenTexture() |
Get the texture that would currently be displayed on the social screen (if in a mode that does that) | ISpectatorScreenController.h | |
virtual void QueueDebugCanvasLayerID
(
int32 LayerID |
ISpectatorScreenController.h | ||
void SetSpectatorScreenMode
(
ESpectatorScreenMode Mode |
Sets the social screen mode. | ISpectatorScreenController.h | |
void SetSpectatorScreenModeTexturePlusEyeLayout
(
const FSpectatorScreenModeTexturePlusEyeLayout& Layout |
Setup the layout for ESpectatorScreenMode::TexturePlusEye. | ISpectatorScreenController.h | |
void SetSpectatorScreenTexture
(
UTexture* InTexture |
Change the texture displayed on the social screen | ISpectatorScreenController.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetModularFeatureName() |
ISpectatorScreenController.h |