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 TryMatchCase
(
const FPackagePath & SourcePackagePath,
FStringView FilePathToMatch,
FPackagePath & OutPackagePath
)
Remarks
Set the capitalization of a PackagePath to match the given string
If the given FilePathToMatch is case-insensitively equal to the LocalPath of the source PackagePath, set the output PackagePath equal to a copy of the source but with capitalization set equal to the capitalization in FilePathToMatch True if FilePathToMatch matched SourcePackagePath case-insensitively, else false
Parameters
| Name | Description |
|---|---|
| SourcePackagePath | The PackagePath to compare against FilePathToMatch |
| FilePathToMatch | The LocalPath to compare against SourcePackagePath's LocalPath |
| OutPackagePath | Set to the matching-capitalization copy of SourcePackagePath if FilePathToMatch matched SourcePackagePath case-insensitively |