FAssetRegistryState::GetAssets

Gets asset data for all assets that match the filter.

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "AssetRegistryState.h"

Source

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

Syntax

bool GetAssets
(
    const FARFilter & Filter,
    const TSet< FName > & PackageNamesToSkip,
    TArray< FAssetData > & OutAssetData
) const

Remarks

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.

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

OutAssetData

the list of assets in this path

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss