STreeMap::SetTreeRoot

Sets a new "active root" for the tree.

Unreal Engine C++ API Reference > Developer > TreeMap > STreeMap

References

   
Module TreeMap
Header /Engine/Source/Developer/TreeMap/Public/STreeMap.h
Include #include "STreeMap.h"
void SetTreeRoot
(
    const FTreeMapNodeDataRef & NewRoot,
    const bool bShouldPlayTransition
)

Remarks

Sets a new "active root" for the tree. This is used to "drill down" to child tree nodes or "climb up" back to the root. This also happens automatically when the user presses the mouse wheel to zoom in and out over nodes.

Parameters

Name Description
NewRoot The tree's new root. This can be any node within the tree
bShouldPlayTransition If enabled, an animation will play

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library