FAssetRegistryState::GetReferencers

Gets a list of packages and searchable names that reference the supplied package or name.

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 GetReferencers
(
    const FAssetIdentifier & AssetIdentifier,
    TArray< FAssetIdentifier > & OutReferencers,
    EAssetRegistryDependencyType::Type InReferenceType
) const

Remarks

Gets a list of packages and searchable names that reference the supplied package or name. (On disk references ONLY)

Parameters

Parameter

Description

AssetIdentifier

the name of the package/name for which to gather dependencies

OutReferencers

a list of things that reference AssetIdentifier

InReferenceType

which kinds of reference to include in the output list

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