IAssetRegistry::K2_GetDependencies

Gets a list of paths to objects that are referenced by the supplied package.

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "IAssetRegistry.h"

Syntax

virtual bool K2_GetDependencies
(
    FName PackageName,
    const FAssetRegistryDependencyOptions & DependencyOptions,
    TArray< FName > & OutDependencies
) const

Remarks

Gets a list of paths to objects that are referenced by 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)

DependencyOptions

which kinds of dependencies to include in the output list

OutDependencies

a list of packages that are referenced by 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