ModelData:getNodeParent

Edit

Given a child node, this function returns the index of its parent.



Arguments

NameTypeDescription
indexnumber The index of the child node.

Returns

NameTypeDescription
parentnumber The index of the parent.

Arguments

NameTypeDescription
namestring The name of the child node.

Returns

NameTypeDescription
parentnumber The index of the parent.

See also