Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/UHeadMountedDisplayFunctionLibra-
Description
Returns the current XR secondary screen precentage. This sets the final render target size as a percentage of the recommended texture size.
Just before the render target is displayed by the HMD, it's distorted by the device's runtime compositor to counteract the distortion a user would normally experience when looking through the device's lenses. The recommended texture size is the size that will result in no undersampling in the most distorted area of the view after this step is performed.
| Name | GetXRSecondaryScreenPercentage |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/HeadMountedDisplayFunctionLibrary.h |
| Include Path | #include "HeadMountedDisplayFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/HeadMountedDisplayFunctionLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Input|HeadMountedDisplay",
Meta=(DisplayName="Get XR Secondary Screen Percentage"))
static float GetXRSecondaryScreenPercentage()
(float) The secondary screen percentage to be used in XR mode.