API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::setSubentMaterialMapper Method
OdDbSurface::setSubentMaterialMapper Method
Syntax
C++
virtual OdResult setSubentMaterialMapper(const OdDbSubentId& subentId, const OdGiMapper& mapper);
Parameters 
Description 
const OdDbSubentId& subentId 
[in] ID of the subentity.  
const OdGiMapper& mapper 
[in] Material mapper to be set to the subentity.
 

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

Sets the material mapper of a given subentity. 

 

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