API Reference > Classes > OdBmGenericAppearanceSchemaTransparency Class > OdBmGenericAppearanceSchemaTransparency Methods > OdBmGenericAppearanceSchemaTransparency::getTranslucency Method
OdBmGenericAppearanceSchemaTransparency::getTranslucency Method
Syntax
C++
OdResult getTranslucency(double&) const;
Parameters 
Description 
double 
[out] Output A value of translucency: 0 (not translucent) and 1 (completely translucent, such as frosted glass).  

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

Retrieves a percent (as factor) of the light which is scattered by the material, so that objects behind the material cannot be seen clearly. 

 

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