Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetRegistry
Description
Checks if the specified package exists on disk. If the package exists and the optional parameters are provided, OutCorrectCasePackageName will be populated with the case matching package name found on disk and OutExtension will be populated with the extension for the package (dot included) if the package contains assets
| Name | DoesPackageExistOnDisk |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool DoesPackageExistOnDisk
(
FName PackageName,
FString * OutCorrectCasePackageName,
FString * OutExtension
) const
Parameters
| Name | Remarks |
|---|---|
| PackageName | the name of the package to check for existence on disk (eg, /Game/MyFolder/MyAsset) |
| OutCorrectCasePackageName | out package name matching the case on disk |
| OutExtension | out extension for packages containing assets (dot included) |