Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/UXRLoadingScreenFunctionLibrary
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRLoadingScreenFunctionLibrary.h |
| Include | #include "XRLoadingScreenFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRLoadingScreenFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Input|HeadMountedDisplay|LoadingScreen")
static void SetLoadingScreen
(
class UTexture * Texture,
FVector2D Scale,
FVector Offset,
bool bShowLoadingMovie,
bool bShowOnSet
)
Remarks
Sets the loading screen texture for VR displays.
Parameters
| Name | Description |
|---|---|
| Texture | (in) A texture asset to be used for the loading screen. |
| Scale | (in) Scale of the loading screen texture quad. |
| Offset | (in) Offset of the loading screen texture quad relative to the tracking space origin, in meters. |
| bShowLoadingMovie | (in) If true, support animated texture assets, such as media textures. |
| bShowOnSet | (in) If true, immediately show the loading screen after it's set. |