FAssetRegistryState::EnumerateAssets

Enumerate asset data for all assets that match the filter.

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h

Include

#include "AssetRegistry/AssetRegistryState.h"

Source

/Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp

Syntax

bool EnumerateAssets
(
    const FARCompiledFilter & Filter,
    const TSet < FName > & PackageNamesToSkip,
    TFunctionRef < bool &)> Callback
) const

Remarks

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.

Parameters

Parameter

Description

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback