Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmTransparency::setAlphaPercent Method
Syntax
C++
void setAlphaPercent(double alphaPercent);

Sets the alpha value as a percentage and switches the transparency method to kByAlpha for the transparency object. 

 

Parameters
Description
alphaPercent
[in] Alpha as a double value in the range from 0.0 to 1.0.

An alpha value defines the degree of transparency. Alpha = 0.0 corresponds to full transparency. Alpha = 1.0 corresponds to full opacity.

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