ModelData:getNodeChildren
EditGiven a parent node, this function returns a table with the indices of its children.
Arguments
Name | Type | Description |
index | number | The index of the parent node. |
Returns
Name | Type | Description |
children | table | A table containing a node index for each child of the node. |
Arguments
Name | Type | Description |
name | string | The name of the parent node. |
Returns
Name | Type | Description |
children | table | A table containing a node index for each child of the node. |
Notes
If the node does not have any children, this function returns an empty table.