![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ISpectatorScreenController.h>
Inheritance diagram for ISpectatorScreenController:Public Member Functions | |
| virtual | ~ISpectatorScreenController () |
| virtual void | SetSpectatorScreenMode (ESpectatorScreenMode Mode)=0 |
| virtual ESpectatorScreenMode | GetSpectatorScreenMode () const =0 |
| virtual void | SetSpectatorScreenTexture (UTexture *InTexture)=0 |
| virtual UTexture * | GetSpectatorScreenTexture () const |
| virtual void | SetSpectatorScreenModeTexturePlusEyeLayout (const FSpectatorScreenModeTexturePlusEyeLayout &Layout)=0 |
| virtual void | QueueDebugCanvasLayerID (int32 LayerID) final |
Static Public Member Functions | |
| static FName | GetModularFeatureName () |
Spectator Screen Controller interface
This is the interface to control the spectator screen, on platforms that support it.
|
inlinevirtual |
|
pure virtual |
Get the texture that would currently be displayed on the social screen (if in a mode that does that)
|
inlinefinalvirtual |
|
pure virtual |
Sets the social screen mode.
| Mode | (in) The social screen Mode. |
|
pure virtual |
Setup the layout for ESpectatorScreenMode::TexturePlusEye.
| EyeRectMin | min of screen rectangle the eye will be drawn in. 0-1 normalized. |
| EyeRectMax | max of screen rectangle the eye will be drawn in. 0-1 normalized. |
| TextureRectMin | min of screen rectangle the texture will be drawn in. 0-1 normalized. |
| TextureRectMax | max of screen rectangle the texture will be drawn in. 0-1 normalized. |
| bDrawEyeFirst | if true the eye is drawn before the texture, if false the reverse. |
| bClearBlack | if true the render target will be drawn black before either rect is drawn. |
|
pure virtual |
Change the texture displayed on the social screen
| InTexture | new Texture2D |