Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdBaseNodeMotion::getOpacity Method
Syntax
C++
virtual bool getOpacity(double& opacity);

Returns the current opacity level for the node motion object. The method fills a passed double value with the opacity value then returns it to a calling subroutine.

Parameters
Description
opacity
[out] A placeholder for the opacity value.

Returns true if the node opacity should be taken into account during the animation; otherwise it returns false.

This method should be re-implemented and return true if you want the node animation algorithm to take the node opacity level into account. Default implementation returns false.

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