| Parameter | Description |
|---|---|
| node | The hierarchy node to set a parent for. |
| parent | The hierarchy node to set as the parent node. |
bool
true if the command was appended to the list, false otherwise.
Sets the parent node 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. |
bool
true if the command was appended to the list, false otherwise.
Sets the parent node 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.