API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::getSubentMaterialMapper Method
OdDbSubDMesh::getSubentMaterialMapper Method
Syntax
C++
OdResult getSubentMaterialMapper(const OdDbSubentId& id, OdGiMapper& mapper) const;
Parameters 
Description 
const OdDbSubentId& id 
[in] ID of the subentity.  
OdGiMapper& mapper 
[out] Receives the material mapper of the subentity.  

Returns eOk if the operation completed successfully, or an appropriate error code otherwise.

Retrieves the material mapper of a subentity. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.