| Parameter | Description |
|---|---|
| node | The hierarchy node. |
| parent | The hierarchy node to set as a parent. |
Sets the parent of a hierarchy node.
| Parameter | Description |
|---|---|
| node | The hierarchy node. |
| parent | The hierarchy node to set as a parent. |
| index | The index at which to insert the node in the parent's children list. |
Sets the parent of a hierarchy node.
The index maximum value is the parent's child count, or child count minus one if moving within the same parent.