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

Returns the refraction component of this Material object. 

 

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