Navigation
API > API/Developer > API/Developer/TreeMap > API/Developer/TreeMap/STreeMap
References
| Module | TreeMap |
| Header | /Engine/Source/Developer/TreeMap/Public/STreeMap.h |
| Include | #include "STreeMap.h" |
void SetTreeRoot
&40;
const FTreeMapNodeDataRef & NewRoot,
const bool bShouldPlayTransition
&41;
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 |