Closed jildertviet closed 2 years ago
In SC:
j = JRectangle();
x = JModifier("array", JEvent.defaultLayer, j, [2,2], [0.2, 0.2]);
// Should send [/make, "array", id, layer, parent, val, val, val, val, val, val]
OF is there: adds a Modifier to the specified parent
Should be accessible as any other JEvent.
But uses different parameters...
So perhaps use a global bus system?
"/setVal", id, "bus", busIndex, value
Like Blender: array function. (Make grid of squars from one square i.e.)
Event{ vector modifiers;
}
if(modifier){
// call draw() inside the modifier?
}