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 a subentity.  
OdGiMapper& mapper 
[out] Material mapper of a subentity.  

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

Retrieves the material mapper of a subentity. 

 

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