API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > OdDbEntity::setMaterialMapper Method
OdDbEntity::setMaterialMapper Method
Syntax
C++
virtual void setMaterialMapper(const OdGiMapper* mapper, bool doSubents = true);
Parameters 
Description 
const OdGiMapper* mapper 
[in] The mapper of a material.  
bool doSubents = true 
[in] If and only if true, applies the change to all sub-entities owned by this entity. 

Sets the mapper used to map a material to the entity. 

 

Use null to apply the default mapper.

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