parent | The parent of the hierarchy node to add. |
HierarchyNode A hierarchy node.
Adds a new node that has a specified parent node to the hierarchy.
parent | The parent of the hierarchy nodes. |
count | The number of nodes to create. |
HierarchyNode[] An array of hierarchy nodes.
Adds multiple new nodes that have a specified parent node to the hierarchy.
parent | The parent of the hierarchy nodes. |
outNodes | The span of nodes to fill with new nodes. |
Adds multiple new nodes that have a specified parent node to the hierarchy.