Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Description
Looks for an existing allocated MountPoint with the given RootLongPackageName and RootLocalPath. These fields uniquely identify a MountPoint so at most one can exist. If the MountPoint exists, it might or might not be mounted, call MountPoint->IsMounted() to check for mounted.
| Name | FindMountPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include Path | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static TRefCountPtr < UE::PackageName::IMountPoint > FindMountPoint
(
FStringView RootLongPackageName,
FStringView RootLocalPath
)
RefCountPtr to the IMountPoint, or nullptr if not yet allocated.
Parameters
| Name | Remarks |
|---|---|
| RootLongPackageName | LongPackageName location for the root of the MountPoint, Examples: /Engine/, /PluginName/ |
| RootLocalPath | LocalPath location for the root of the MountPoint, Examples: ../../../Engine/Content, d:\FullPathToUnreal\Engine\Plugins\PluginName |