I am currently trying to get this behavior :
myNode has a curve ramp attribute which gets created with MRampAttribute class. I create 3 output for the curveRamp at position 0.0f, 0.5f, and 1.0f. then these attributes are passed on to 3 numeric attributes.
let's say, the compute algorithm is fairly simple. it takes each individual value and divides it by the number of curve points.
What I want is when I create a new curve point. it will add one more output attr, then divide each value by 4.
I can't get it worked with nummericAttr.setArrays(true).
and also, is there any example plug in in devkit that related to ramp attribute?
Probably using a class variable to keep track on variables is the efficient way.