unreal.XRLoadingScreenFunctionLibrary
¶
- class unreal.XRLoadingScreenFunctionLibrary(outer=None, name='None')¶
Bases:
unreal.BlueprintFunctionLibrary
XR Loading Screen Function Library
C++ Source:
Module: HeadMountedDisplay
File: XRLoadingScreenFunctionLibrary.h
- classmethod add_loading_screen_splash(texture, translation, rotation, size=[1.0, 1.0], delta_rotation=[0.0, 0.0, 0.0], clear_before_add=False) → None¶
Adds a splash element to the loading screen.
- Parameters
texture (Texture) – (in) A texture asset to be used for the splash.
translation (Vector) – (in) Initial translation of the center of the splash.
rotation (Rotator) – (in) Initial rotation of the splash screen, with the origin at the center of the splash.
size (Vector2D) – (in) Size, of the quad with the splash screen.
delta_rotation (Rotator) – (in) Incremental rotation, that is added each 2nd frame to the quad transform. The quad is rotated around the center of the quad.
clear_before_add (bool) – (in) If true, clears splashes before adding a new one.