CustomGraphicsBasicMaterialColorEffect.opacity Property
Parent Object:
CustomGraphicsBasicMaterialColorEffectDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsBasicMaterialColorEffect.h>
Description
Gets and sets the opacity associated with this CustomGraphicsBasicMaterialColorEffect object. A value of 1.0 is completely opaque and 0.0 is completely transparent.
Syntax
"customGraphicsBasicMaterialColorEffect_var" is a variable referencing a CustomGraphicsBasicMaterialColorEffect object.
# Get the value of the property. propertyValue = customGraphicsBasicMaterialColorEffect_var.opacity
# Set the value of the property. customGraphicsBasicMaterialColorEffect_var.opacity = propertyValue
|
"customGraphicsBasicMaterialColorEffect_var" is a variable referencing a CustomGraphicsBasicMaterialColorEffect object.
#include <Fusion/Graphics/CustomGraphicsBasicMaterialColorEffect.h>
// Get the value of the property. double propertyValue = customGraphicsBasicMaterialColorEffect_var->opacity();
// Set the value of the property, where value_var is a double. bool returnValue = customGraphicsBasicMaterialColorEffect_var->opacity(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version September 2017