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

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

Retrieves the material mapper of a given subentity. 

 

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