API Reference > Classes > OdBmSolidGlassAppearanceSchema Class > OdBmSolidGlassAppearanceSchema Methods > OdBmSolidGlassAppearanceSchema::getRefraction Method
OdBmSolidGlassAppearanceSchema::getRefraction Method
Syntax
C++
OdResult getRefraction(double&) const;
Parameters 
Description 
double 
[out] Output A value of refraction: 0 (no refraction) and 5 (most refraction).  

An OdResult value: eOk if schema contains a refraction, eNotApplicable if not.

Retrieves a light bends factor when the light passes through the material. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.