/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
Gets asset data for all assets that match the filter. Assets returned must satisfy every filter component if there is at least one element in the component's array. Assets will satisfy a component if they match any of the elements in it.
bool GetAssets ( const [FARCompiledFilter](API\Runtime\CoreUObject\AssetRegistry\FARCompiledFilter) & Filter, const [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & PackageNamesToSkip, [TArray](API\Runtime\Core\Containers\TArray)< [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) > & OutAssetData, bool bSkipARFilteredAssets ) const