A3DTreeNodeGetParent

A3DStatus A3DTreeNodeGetParent(const A3DTree *pTree, const A3DTreeNode *pNode, A3DTreeNode **ppParentNode)
A3DStatus A3DTreeNodeGetParent(const A3DTree* pTree, const A3DTreeNode* pNode, A3DTreeNode** ppParentNode)

Desc.

Get parent node of a node or NULL if the node is the root of the model

Parameters

pTree: The model tree containing the node.

pNode: The tree node, or 0 to clean the structure memory.

ppParentNode: parent node.

Returns

A3D_SUCCESS on success, or an error code on failure