Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/IAssetRegistryInterface
Description
Enumerate 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.
| Name | EnumerateAssets |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/AssetRegistryInterface.h |
| Include Path | #include "Misc/AssetRegistryInterface.h" |
bool EnumerateAssets
(
const FARFilter & Filter,
TFunctionRef < bool &)> Callback,
UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags
) const
False if the AssetRegistry is not available or the filter is invalid, otherwise true.
Parameters
| Name | Remarks |
|---|---|
| Filter | filter to apply to the assets in the AssetRegistry |
| Callback | function to call for each asset data enumerated |
| InEnumerateFlags | flags to control enumeration and filtering. |
See Also
- EEnumerateAssetsFlags.