A3DTreeNodeGetGeometry
-
A3DStatus
A3DTreeNodeGetGeometry(const A3DTree *pTree, const A3DTreeNode *pNode, A3DBool bApplyTreeStyle, A3DMeshData *pMeshData, const A3DRiComputeMeshDataParameters *psMeshOptionsData) A3DStatusA3DTreeNodeGetGeometry(constA3DTree* pTree, constA3DTreeNode* pNode,A3DBoolbApplyTreeStyle,A3DMeshData* pMeshData, constA3DRiComputeMeshDataParameters* psMeshOptionsData)Get mesh associated to the node.
Parameters
pTree: The model tree containing the node, or 0 to clean the memory.
pNode: The tree node, or 0 to clean the memory.
bApplyTreeStyle: specify the graphical information defined in the tree should be applied to compute the mesh.
pMeshData: The
A3DMeshDatato store the computed mesh or release memory if pTree or pNode are null.psMeshOptionsData: Options used to compute Mesh. 0 for now, options structure for future use.
Returns
A3D_SUCCESSon success, or an error code on failure