API Reference > Classes > OdBmSolidGlassAppearanceSchema Class > OdBmSolidGlassAppearanceSchema Methods > OdBmSolidGlassAppearanceSchema::getRoughness Method
OdBmSolidGlassAppearanceSchema::getRoughness Method
Syntax
C++
OdResult getRoughness(double&) const;
Parameters 
Description 
double 
[out] Output A value between 0 (smooth, shiny glass) and 1 (frosted glass).  

An OdResult value: eOk if value can be retrieved, eNotApplicable if not.

Retrieves the roughness of the glass. 

 

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