Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TDirectoryTree > API/Runtime/Core/TDirectoryTree/FTreeNode
Description
Recursively search the node's subtree to find the given relative directory name, adding nodes for the path and its parents if required. Return reference to the added or existing node's value.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/DirectoryTree.h |
| Include Path | #include "Containers/DirectoryTree.h" |
ValueType & FindOrAdd
(
FStringView InRelPath,
bool & bOutExisted
)