Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/IAssetRegistryInterface
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE::AssetRegistry::EExists TryGetAssetPackageData
(
FName PackageName, |
Tries to get the package data for the specified package name | Misc/AssetRegistryInterface.h | |
UE::AssetRegistry::EExists TryGetAssetPackageData
(
FName PackageName, |
Tries to get the package data for the specified package name. | Misc/AssetRegistryInterface.h |
TryGetAssetPackageData(FName, class FAssetPackageData &, bool)
Description
Tries to get the package data for the specified package name
| Name | TryGetAssetPackageData |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/AssetRegistryInterface.h |
| Include Path | #include "Misc/AssetRegistryInterface.h" |
UE::AssetRegistry::EExists TryGetAssetPackageData
(
FName PackageName,
class FAssetPackageData & OutPackageData,
bool bFailIfLockHeld
) const
Return code enum
Parameters
| Name | Remarks |
|---|---|
| PackageName | name of the package |
| OutAssetPackageData | out FAssetPackageData |
| bFailIfLockHeld | If the AssetRegistry is currently being written to by another thread this function will return EExists::Unknown rather than waiting for safe read access. |
TryGetAssetPackageData(FName, class FAssetPackageData &, FName &, bool)
Description
Tries to get the package data for the specified package name. If found, OutCorrectCasePackageName will be populated with the PackageName that matches the casing used by the filesystem
| Name | TryGetAssetPackageData |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/AssetRegistryInterface.h |
| Include Path | #include "Misc/AssetRegistryInterface.h" |
UE::AssetRegistry::EExists TryGetAssetPackageData
(
FName PackageName,
class FAssetPackageData & OutPackageData,
FName & OutCorrectCasePackageName,
bool bFailIfLockHeld
) const
Return code enum
Parameters
| Name | Remarks |
|---|---|
| PackageName | name of the package |
| OutAssetPackageData | out FAssetPackageData |
| OutCorrectCasePackageName | out FName matching filesystem casing |
| bFailIfLockHeld | If the AssetRegistry is currently being written to by another thread this function will return EExists::Unknown rather than waiting for safe read access. |