Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/ISpectatorScreenController
- ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()
- FDefaultSpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()
References
| Module | HeadMountedDisplay |
| Header | /Engine/Source/Runtime/HeadMountedDisplay/Public/ISpectatorScreenController.h |
| Include | #include "ISpectatorScreenController.h" |
void SetSpectatorScreenModeTexturePlusEyeLayout
&40;
const FSpectatorScreenModeTexturePlusEyeLayout & Layout
&41;
Remarks
Setup the layout for ESpectatorScreenMode::TexturePlusEye.
Parameters
| Name | 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. |