ModelData:getNodeParent
EditGiven a child node, this function returns the index of its parent.
Arguments
Name | Type | Description |
index | number | The index of the child node. |
Returns
Name | Type | Description |
parent | number | The index of the parent. |
Arguments
Name | Type | Description |
name | string | The name of the child node. |
Returns
Name | Type | Description |
parent | number | The index of the parent. |