IAssetRegistry::K2_GetReferencers

Gets a list of packages that reference the supplied package. (On disk references ONLY)

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "AssetRegistry/IAssetRegistry.h"

Source

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

Syntax

virtual bool K2_GetReferencers
(
    FName PackageName,
    const FAssetRegistryDependencyOptions & ReferenceOptions,
    TArray< FName > & OutReferencers
) const

Remarks

Gets a list of packages that reference the supplied package. (On disk references ONLY)

Parameters

Parameter

Description

PackageName

the name of the package for which to gather dependencies (eg, /Game/MyFolder/MyAsset)

ReferenceOptions

which kinds of references to include in the output list

OutReferencers

a list of packages that reference the package whose path is PackageName

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