Scene.get_hierarchy_string

Scene.get_hierarchy_string(max_depth=None)[source]

Return string representation for the spatial hierarchy of the tree.

Parameters:
max_depthint, optional

The maximum depth of the hierarchy to print. Default is None, in which case the entire hierarchy is printed.

Returns:
str

String representing the spatial hierarchy of the tree.