STreeMap::SetTreeRoot

Sets a new "active root" for the tree.

Windows
MacOS
Linux

References

Module

TreeMap

Header

/Engine/Source/Developer/TreeMap/Public/STreeMap.h

Include

#include "STreeMap.h"

Syntax

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

Parameter

Description

NewRoot

The tree's new root. This can be any node within the tree

bShouldPlayTransition

If enabled, an animation will play

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss