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

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

 

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