API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setDiffuse Method
OdDbMaterial::setDiffuse Method
Syntax
C++
virtual void setDiffuse(const OdGiMaterialColor& diffuseColor, const OdGiMaterialMap& diffuseMap);
Parameters 
Description 
const OdGiMaterialColor& diffuseColor 
[in] Diffuse color.  
const OdGiMaterialMap& diffuseMap 
[in] Diffuse map. 

Sets the diffuse (main) component of this Material object. 

 

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