Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackagePath > API/Runtime/CoreUObject/Misc/FPackagePath/FromLocalPath
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 FPackagePath FromLocalPath
(
FStringView InFilename
)
Remarks
Construct a PackagePath from a LocalPath string
Does not handle InFilenames that are actually PackageNames; use TryFromMountedName if you need to handle either PackageName or LocalPath Will be converted to a MountedPath when the PackageName is required; if the package is not mounted at that point the PackageName will be empty. Always succeeds; all strings are valid filenames The constructed PackagePath
Parameters
| Name | Description |
|---|---|
| InFilename | The full LocalPath, D:\Folder\File.Ext, may be relative or absolute, extension is not required |