FAssetRegistryState::GetDependencies

Gets a list of packages and searchable names that are referenced by 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 GetDependencies
(
    const FAssetIdentifier & AssetIdentifier,
    TArray< FAssetIdentifier > & OutDependencies,
    EAssetRegistryDependencyType::Type InDependencyType
) const

Remarks

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

Parameters

Parameter

Description

AssetIdentifier

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

OutDependencies

a list of things that are referenced by AssetIdentifier

InDependencyType

which kinds of dependency 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