FContentBrowserVirtualPathTree::CachePath

Adds the specified path to the tree, creating nodes as needed and calling OnPathAdded for any new paths added.

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
bool CachePath
(
    [FName](API\Runtime\Core\UObject\FName) Path,
    [FName](API\Runtime\Core\UObject\FName) InternalPath,
    [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< void([FName](API\Runtime\Core\UObject\FName))> OnPathAdded
)

Remarks

Adds the specified path to the tree, creating nodes as needed and calling OnPathAdded for any new paths added. Returns true if the specified path was actually added (as opposed to already existed)


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library