Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FDefaultSpectatorScreenControlle-
- ISpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()
- FDefaultSpectatorScreenController::SetSpectatorScreenModeTexturePlusEyeLayout()
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/DefaultSpectatorScreenController.h |
| Include | #include "DefaultSpectatorScreenController.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/DefaultSpectatorScreenController.cpp |
virtual 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. |