GuardAndLoadAsset

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

GuardAndLoadAsset

(
    const TSoftObjectPtr< ObjectType > ...,
    TFunction< void> ...
)

Displays the loading spinner until the asset is loaded Will pass a casted pointer to the given asset in the lambda callback - could be nullptr if you provide an incompatible type or invalid asset.

Public function

void

 

GuardAndLoadAsset

(
    const TSoftObjectPtr< UObject >& I...,
    FOnLoadGuardAssetLoaded OnAssetLoad...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss