Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackageName > API/Runtime/CoreUObject/Misc/FPackageName/ObjectPathToPathWithinPackage
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 FWideStringView ObjectPathToPathWithinPackage
(
FWideStringView InObjectPath
)
Remarks
Returns any remaining object path after trimming the package name from the specified object path
Examples: "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "MyAsset:SubObject.AnotherObject" "/Game/MyAsset.MyAsset:SubObject" -> "MyAsset:SubObject" "/Game/MyAsset.MyAsset" -> "MyAsset" "/Game/MyAsset" -> ""