ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout

Setup the layout for [ESpectatorScreenMode::TexturePlusEye](API\Runtime\HeadMountedDisplay\ESpectatorScreenMode).

Windows
MacOS
Linux

Override Hierarchy

ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()

FDefaultSpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/ISpectatorScreenController.h

Include

#include "ISpectatorScreenController.h"

Syntax

void SetSpectatorScreenModeTexturePlusEyeLayout
(
    const FSpectatorScreenModeTexturePlusEyeLayout & Layout
)

Remarks

Setup the layout for ESpectatorScreenMode::TexturePlusEye .

Parameters

Parameter

Description

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback