Navigation
API > API/Developer > API/Developer/AssetTools > API/Developer/AssetTools/AssetViewUtils__LoadAssetsIfNeed-
References
| Module | AssetTools |
| Header | /Engine/Source/Developer/AssetTools/Public/AssetViewUtils.h |
| Include | #include "AssetViewUtils.h" |
| Source | /Engine/Source/Developer/AssetTools/Private/AssetViewUtils.cpp |
namespace AssetViewUtils
{
ELoadAssetsResult AssetViewUtils::LoadAssetsIfNeeded
(
TConstArrayView< FAssetData > Assets,
TArray< UObject * > & LoadedObjects,
const FLoadAssetsSettings & InSettings
)
}
Remarks
Makes sure the specified assets are loaded into memory, with displayed progress and optional cancellation for the user. Prefer the overload taking FAssetData if possible. enum specifying whether the load was successful, cancelled or if some or all assets failed to load
Parameters
| Name | Description |
|---|---|
| Assets | The assets to load |
| LoadedObjects | The returned list of objects that were already loaded or loaded by this method. |