Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/UHeadMountedDisplayFunctionLibra-
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/HeadMountedDisplayFunctionLibrary.h |
| Include | #include "HeadMountedDisplayFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/HeadMountedDisplayFunctionLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Input&124;HeadMountedDisplay&124;SpectatorScreen"&41;
static void SetSpectatorScreenModeTexturePlusEyeLayout
&40;
FVector2D EyeRectMin,
FVector2D EyeRectMax,
FVector2D TextureRectMin,
FVector2D TextureRectMax,
bool bDrawEyeFirst,
bool bClearBlack,
bool bUseAlpha
&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. |