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

Returns the opacity component of this Material object. 

 

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