API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::setSubentMaterialMapper Method
OdDb3dSolid::setSubentMaterialMapper Method
Syntax
C++
virtual OdResult setSubentMaterialMapper(const OdDbSubentId & subentId, const OdGiMapper& mapper);
Parameters 
Description 
const OdDbSubentId & subentId 
[in] Subentity ID  
const OdGiMapper& mapper 
[in] Pointer to an OdGiMapper object.
 

Returns eOk if successful or an appropriate error code in other case.

Sets an explicit material mapper for the specified subentity. 

 

To remove the current material mapper assignment, set map parameter value to NULL.

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