Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FPathViews
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/PathViews.h |
| Include | #include "Misc/PathViews.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/PathViews.cpp |
static FStringView GetMountPointNameFromPath
&40;
const FStringView InPath,
bool &42; bOutHadClassesPrefix,
bool bInWithoutSlashes
&41;
Remarks
Returns the name of the mount point in a path Removes starting forward slash and Classes_ prefix if bInWithoutSlashes is true Example: "/Classes_A/Textures" returns "A" and sets bOutHadClassesPrefix=true if bInWithoutSlashes is true returns "/Classes_A" otherwise and sets bOutHadClassesPrefix=false