Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/FAssetRegistryState
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool EnumerateAssets
(
const FARCompiledFilter& Filter, |
AssetRegistry/AssetRegistryState.h | ||
bool EnumerateAssets
(
const FARCompiledFilter& Filter, |
Enumerate asset data for all assets that match the filter. | AssetRegistry/AssetRegistryState.h | |
bool EnumerateAssets
(
const FARCompiledFilter& Filter, |
Enumerate asset data for all assets that match the filter. | AssetRegistry/AssetRegistryState.h |
EnumerateAssets(const FARCompiledFilter &, const TSet< FName > &, TFunctionRef< bool(const FAssetData &)>)
| Name | EnumerateAssets |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h |
| Include Path | #include "AssetRegistry/AssetRegistryState.h" |
| Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp |
bool EnumerateAssets
(
const FARCompiledFilter & Filter,
const TSet< FName > & PackageNamesToSkip,
TFunctionRef < bool> Callback
) const
EnumerateAssets(const FARCompiledFilter &, const TSet< FName > &, TFunctionRef< bool(const FAssetData &)>, bool)
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/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h |
| Include Path | #include "AssetRegistry/AssetRegistryState.h" |
| Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp |
bool EnumerateAssets
(
const FARCompiledFilter & Filter,
const TSet< FName > & PackageNamesToSkip,
TFunctionRef < bool> Callback,
bool bARFiltering
) const
Parameters
| Name | Remarks |
|---|---|
| Filter | filter to apply to the assets in the AssetRegistry |
| PackageNamesToSkip | explicit list of packages to skip, because they were already added |
| Callback | function to call for each asset data enumerated |
| bARFiltering | Whether to apply filtering from UE::AssetRegistry::FFiltering (false by default) |
EnumerateAssets(const FARCompiledFilter &, const TSet< FName > &, TFunctionRef< bool(const FAssetData &)>, UE::AssetRegistry::EEnumerateAssetsFlags)
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/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h |
| Include Path | #include "AssetRegistry/AssetRegistryState.h" |
| Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp |
bool EnumerateAssets
(
const FARCompiledFilter & Filter,
const TSet< FName > & PackageNamesToSkip,
TFunctionRef < bool> Callback,
UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags
) const
Parameters
| Name | Remarks |
|---|---|
| Filter | filter to apply to the assets in the AssetRegistry |
| PackageNamesToSkip | explicit list of packages to skip, because they were already added |
| Callback | function to call for each asset data enumerated |
| InEnumerateFlags | flags to control enumeration and filtering. |
See Also
- EEnumerateAssetsFlags.