/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h
Enumerate asset data for all assets in the registry. This method may be slow, use a filter if possible to avoid iterating over the entire registry.
bool EnumerateAllAssets ( [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) &)> Callback, bool bIncludeOnlyOnDiskAssets ) const