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

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

Returns current material mapper for the specified subentity. 

 

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