API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setOpacity Method
OdDbMaterial::setOpacity Method
Syntax
C++
virtual void setOpacity(double opacityPercentage, const OdGiMaterialMap& opacityMap);
Parameters 
Description 
double opacityPercentage 
[in] Opacity percentage.  
const OdGiMaterialMap& opacityMap 
[in] Opacity map. 

Sets the opacity component of this Material object. 

 

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