C++ API
This page lists what you can rely on in C++. You need a game module that depends on SGCLoadingScreenRuntime.
Stable
Section titled “Stable”The public headers of the SGCLoadingScreenRuntime module are stable: the Blueprint library (with FSGCScopedLoadingHold), settings, elements, async actions, hold tags, FSGCLoadingHold and FSGCLoadingBackground.
Examples
Section titled “Examples”Keep the screen for the length of a scope:
FSGCScopedLoadingHold Hold(this, Tag, Text);Register content sets in your Game Instance by handle. The functions are SGCLoadingContent::RegisterSource and SGCLoadingContent::UnregisterSource (header SGCLoadingContentRegistration.h).
Element properties
Section titled “Element properties”The properties of SGC Loading Animation, SGC Loading Background, SGC Loading Tip and SGC Load Status are private. Read and write them with the Get... and Set... functions. In Blueprint they have Get and Set nodes.
See Upgrade from 1.0.0 for the removed C++ API.