CustomGraphicsPointSet.getOpacity Method
Parent Object:
CustomGraphicsPointSetDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsPointSet.h>
Description
Gets the opacity of the graphics entity.
Syntax
"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.
(returnValue, opacity, isOverride) = customGraphicsPointSet_var.getOpacity()
|
#include <Fusion/Graphics/CustomGraphicsPointSet.h
// Declare the output arguments. double opacity; boolean isOverride; boolean returnValue = customGraphicsPointSet_var->getOpacity(opacity, isOverride);
|
Return Value
boolean |
Returns true if getting the opacity information was successful. |
Parameters
opacity |
double |
The opacity value where 1.0 is completely opaque and 0.0 is completely transparent. |
isOverride |
boolean |
Indicates if this entities opacity will override the opacity defined by the material. If true, it will override the material opacity and if false the opacity values will accumulate. |
Version
Introduced in version September 2017