Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackagePath
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackagePath.h |
| Include | #include "Misc/PackagePath.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackagePath.cpp |
static bool TryFromMountedName
&40;
FStringView InPackageNameOrHeaderFilePath,
FPackagePath & OutPackagePath
&41;
Remarks
Construct a PackagePath from a LocalPath or PackageName string, assuming the given LocalPath or PackageName is in a directory that is mounted (aka registered with FPackageName::MountPointExists) True if the input string was found in a mounted path and OutPackagePath has been set, false otherwise
Parameters
| Name | Description |
|---|---|
| InPackageNameOrHeaderFilePath | A string that describes either the PackageName or LocalPath of a PackagePath |
| OutPackagePath | If the function succeeds, the created PackagePath is assigned to this variable. Otherwise this variable is not written |