Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetRegistry
Description
Gets the LongPackageName for all packages with the given PackageName. Call to check existence of a LongPackageName or find all packages with a ShortPackageName.
| Name | GetPackagesByName |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
void GetPackagesByName
(
FStringView PackageName,
TArray< FName > & OutPackageNames
) const
Parameters
| Name | Remarks |
|---|---|
| PackageName | Name of the package to find, may be a LongPackageName or ShortPackageName. |
| OutPackageNames | All discovered matching LongPackageNames are appended to this array. |