API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::setSubentMaterialMapper Method
OdDbSubDMesh::setSubentMaterialMapper Method
Syntax
C++
OdResult setSubentMaterialMapper(const OdDbSubentId& id, const OdGiMapper& mapper);
Parameters 
Description 
const OdDbSubentId& id 
[in] Id of a subentity.  
const OdGiMapper& mapper 
[in] Material mapper to be set to a subentity.  

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

Sets the material mapper of a subentity. 

 

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