Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/FAssetRegistryGenerator
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AssetRegistryGenerator.h |
| Include | #include "Commandlets/AssetRegistryGenerator.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/AssetRegistryGenerator.cpp |
void AddAssetToFileOrderRecursive
&40;
const FName & InPackageName,
TArray< FName > & OutFileOrder,
TSet< FName > & OutEncounteredNames,
const TSet< FName > & InPackageNameSet,
const TSet< FName > & InTopLevelAssets
&41;
Remarks
Follows an assets dependency chain to build up a list of package names in the same order as the runtime would attempt to load them
Parameters
| Name | Description |
|---|---|
| InPackageName | The name of the package containing the asset to (potentially) add to the file order |
| OutFileOrder | Output array which collects the package names, maintaining order |
| OutEncounteredArray | Temporary collection of package names we've seen. Similar to OutFileOrder but updated BEFORE following dependencies so as to avoid circular references |
| InPackageNameSet | The source package name list. Used to distinguish between dependencies on other packages and internal objects |
| InTopLevelAssets | Names of packages containing top level assets such as maps |