Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FPackageName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FWideStringView ObjectPathToPathWithinPackage
(
FWideStringView InObjectPath |
Returns any remaining object path after trimming the package name from the specified object path | Misc/PackageName.h | |
static FAnsiStringView ObjectPathToPathWithinPackage
(
FAnsiStringView InObjectPath |
Misc/PackageName.h | ||
static FString ObjectPathToPathWithinPackage
(
const FString& InObjectPath |
Misc/PackageName.h |
ObjectPathToPathWithinPackage(FWideStringView)
Description
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" -> ""
| Name | ObjectPathToPathWithinPackage |
| 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 FWideStringView ObjectPathToPathWithinPackage
(
FWideStringView InObjectPath
)
ObjectPathToPathWithinPackage(FAnsiStringView)
| Name | ObjectPathToPathWithinPackage |
| 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 FAnsiStringView ObjectPathToPathWithinPackage
(
FAnsiStringView InObjectPath
)
ObjectPathToPathWithinPackage(const FString &)
| Name | ObjectPathToPathWithinPackage |
| 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 FString ObjectPathToPathWithinPackage
(
const FString & InObjectPath
)