ControlP5 Range: automatic callback
in
Contributed Library Questions
•
7 months ago
hey,
how to use ControlP5's "automatic callback" mechanism for the Range Controller?
Say I have a Range Controller named "rangeController".
a float array with the same name won't get updated:
- float[] rangeController = new float[2];
a method with a float array argument won't get called:
- void rangeController(float[] theArray) ...
a method without arguments *does* get called automatically, but then I'd have to manually get the current values of the Range Controller
- void rangeController() ...
1