| ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/DefaultSpectatorScreenController.h |
Include |
#include "DefaultSpectatorScreenController.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/DefaultSpectatorScreenController.cpp |
virtual void SetSpectatorScreenModeTexturePlusEyeLayout
(
const FSpectatorScreenModeTexturePlusEyeLayout & Layout
)
Setup the layout for ESpectatorScreenMode::TexturePlusEye.
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. |