CustomGraphicsPointSet.color Property

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

Description

Gets and sets the current color definition for this entity. The color of custom graphics can be defined in many ways; solid color, simple material, and appearance.

Syntax

"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.

# Get the value of the property.
propertyValue = customGraphicsPointSet_var.color

# Set the value of the property.
customGraphicsPointSet_var.color = propertyValue
"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.
#include <Fusion/Graphics/CustomGraphicsPointSet.h>

// Get the value of the property.
Ptr<CustomGraphicsColorEffect> propertyValue = customGraphicsPointSet_var->color();

// Set the value of the property, where value_var is a CustomGraphicsColorEffect.
bool returnValue = customGraphicsPointSet_var->color(value_var);

Property Value

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

Version

Introduced in version September 2017