API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setRefraction Method
OdDbMaterial::setRefraction Method
Syntax
C++
virtual void setRefraction(double refractionIndex, const OdGiMaterialMap& refractionMap);
Parameters 
Description 
double refractionIndex 
[in] Refraction index.  
const OdGiMaterialMap& refractionMap 
[in] Refraction map. 

Sets the refraction component of this Material object. 

 

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