UOculusFunctionLibrary::AddLoadingSplashScreen

Adds loading splash screen with parameters

Choose your operating system:

Windows

macOS

Linux

References

Module

OculusHMD

Header

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/OculusFunctionLibrary.h

Include

#include "OculusFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Private/OculusFunctionLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="OculusLibrary",
          Meta=(DeprecatedFunction, DeprecationMessage="Use Add Loading Screen Splash from the Head Mounted Display Loading Screen functions instead."))
static void AddLoadingSplashScreen
(
    class UTexture2D * Texture,
    FVector TranslationInMeters,
    FRotator Rotation,
    FVector2D SizeInMeters,
    FRotator DeltaRotation,
    bool bClearBeforeAdd
)

Remarks

Adds loading splash screen with parameters

Parameters

Parameter

Description

Texture

(in) A texture asset to be used for the splash.

TranslationInMeters

(in) Initial translation of the center of the splash screen (in meters).

Rotation

(in) Initial rotation of the splash screen, with the origin at the center of the splash screen.

SizeInMeters

(in) Size, in meters, of the quad with the splash screen.

DeltaRotation

(in) Incremental rotation, that is added each 2nd frame to the quad transform. The quad is rotated around the center of the quad.

bClearBeforeAdd

(in) If true, clears splashes before adding a new one.