Navigation
API > API/Developer > API/Developer/TreeMap > API/Developer/TreeMap/STreeMap
Description
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.
| Name | SetTreeRoot |
| Type | function |
| Header File | /Engine/Source/Developer/TreeMap/Public/STreeMap.h |
| Include Path | #include "STreeMap.h" |
| Source | /Engine/Source/Developer/TreeMap/STreeMap.cpp |
void SetTreeRoot
(
const FTreeMapNodeDataRef & NewRoot,
const bool bShouldPlayTransition
)
Parameters
| Name | Remarks |
|---|---|
| NewRoot | The tree's new root. This can be any node within the tree |
| bShouldPlayTransition | If enabled, an animation will play |