CustomGraphicsBasicMaterialColorEffect.emissiveColor Property

Parent Object: CustomGraphicsBasicMaterialColorEffect
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsBasicMaterialColorEffect.h>

Description

Gets and sets the emissiveColor associated with this CustomGraphicsBasicMaterialColorEffect object. The emissive color is the primary color of the entity

Syntax

"customGraphicsBasicMaterialColorEffect_var" is a variable referencing a CustomGraphicsBasicMaterialColorEffect object.

# Get the value of the property.
propertyValue = customGraphicsBasicMaterialColorEffect_var.emissiveColor

# Set the value of the property.
customGraphicsBasicMaterialColorEffect_var.emissiveColor = propertyValue
"customGraphicsBasicMaterialColorEffect_var" is a variable referencing a CustomGraphicsBasicMaterialColorEffect object.
#include <Fusion/Graphics/CustomGraphicsBasicMaterialColorEffect.h>

// Get the value of the property.
Ptr<Color> propertyValue = customGraphicsBasicMaterialColorEffect_var->emissiveColor();

// Set the value of the property, where value_var is a Color.
bool returnValue = customGraphicsBasicMaterialColorEffect_var->emissiveColor(value_var);

Property Value

This is a read/write property whose value is a Color.

Version

Introduced in version September 2017