FContentBrowserVirtualPathTree::GetMountPointFromPath

Use [FPathViews::GetMountPointNameFromPath](API\Runtime\Core\Misc\FPathViews\GetMountPointNameFromPath) instead Returns name of the first folder in a path Removes starting forward slash and Classes_ prefix Example: "/Classes_A/Textures" returns "A" and sets bOutHadClassesPrefix=true

Unreal Engine C++ API Reference > Editor > ContentBrowserData > FContentBrowserVirtualPathTree

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserVirtualPathTree.h
Include #include "ContentBrowserVirtualPathTree.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserVirtualPathTree.cpp
static FStringView GetMountPointFromPath
(
    const FStringView InPath,
    bool & bOutHadClassesPrefix
)

Remarks

Use FPathViews::GetMountPointNameFromPath instead Returns name of the first folder in a path Removes starting forward slash and Classes_ prefix Example: "/Classes_A/Textures" returns "A" and sets bOutHadClassesPrefix=true


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library