Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
IfcIndexedColourMap::getOpacity Method
Syntax
C++
double getOpacity() const;

Returns the value of Opacity attribute. Opacity is the the opacity value, that applies equally to all faces of the tessellated face set. 1.0 means opaque, and 0.0 completely transparent. If not provided, 1.0 is assumed (all colours are opaque).

Returns the value of Opacity attribute.

The definition of the alpha channel component for opacity follows the new definitions in image processing, where 0.0 means full transparency and 1.0 (or 2bit depths -1) means fully opaque. This is contrary to the definition of transparency in IfcSurfaceStyleShading.

Copyright © 2002-2022. Open Design Alliance All rights reserved.