API Reference > Classes > OdBmGenericAppearanceSchemaTransparency Class > OdBmGenericAppearanceSchemaTransparency Methods > OdBmGenericAppearanceSchemaTransparency::getAmount Method
OdBmGenericAppearanceSchemaTransparency::getAmount Method
Syntax
C++
OdResult getAmount(double&) const;
Parameters 
Description 
double 
[out] Output A double value between 0 (completely opaque) and 1 (completely transparent).  

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

Retrieves an amount of material transparency. When Transparency is 0, Translucency and Index of Refraction are not available. 

 

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