ColorControlPointMapGraphNodeProperty.addPoint Method

Parent Object: ColorControlPointMapGraphNodeProperty

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/ColorControlPointMapGraphNodeProperty.h>

Description

Add a point to the map.

Syntax

"colorControlPointMapGraphNodeProperty_var" is a variable referencing a ColorControlPointMapGraphNodeProperty object.
returnValue = colorControlPointMapGraphNodeProperty_var.addPoint(parameter, value, interpolator)
"colorControlPointMapGraphNodeProperty_var" is a variable referencing a ColorControlPointMapGraphNodeProperty object.

#include <Volume/Volumetric/ColorControlPointMapGraphNodeProperty.h>

returnValue = colorControlPointMapGraphNodeProperty_var->addPoint(parameter, value, interpolator);

Return Value

Type Description
boolean True if successfully added.

Parameters

Name Type Description
parameter double Where in the input domain where the point lies.
value Color The color value of the parameter in the output domain.
interpolator ControlPointInterpolators The function used to interpolate an output value for a input parameter between this point and the next.

Version

Introduced in version May 2025