Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Misc > FPackageName
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
Include | #include "Misc/PackageName.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static bool TryConvertToMountedPackagePath
(
const FString & InPath,
FPackagePath & OutPackagePath,
EErrorCode & OutFailureReason
)
Remarks
Internal helper to create a FPackagePath given LocalFilePath or PackageName, and if found, return the MountPoint, RelativePath, and PackageExtension True if InPath be converted (was not malformed)
Parameters
Name | Description |
---|---|
InPath | The path to test, either a LocalFilePath, PackageName, or ObjectPath |
OutPackagePath | FPackagePath to store the converted InPath |
OutFailureReason | it is set to the failurereason if the MountPoint is not found, otherwise it is set to EErrorCode::PackageNameUnknown |