Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
Color | currentValue () |
Color | lastSentValue () |
void | onUpdateHardware (Consumer< Color > sendValueConsumer) |
void | setValue (Color value) |
void | setValueSupplier (Supplier< Color > supplier) |
Represents an output value shown on some hardware (for example, the color of a light).
Color currentValue | ( | ) |
Gets the current value. This is the value that should be sent to the hardware to be displayed.
Color lastSentValue | ( | ) |
The value that was last sent to the hardware.
void onUpdateHardware | ( | Consumer< Color > | sendValueConsumer | ) |
Specifies a callback that should be called with the value that needs to be sent to the hardware. This callback is called as a result of calling the HardwareSurface#updateHardware() method (typically from the flush method).
void setValue | ( | Color | value | ) |
Sets the current value.
void setValueSupplier | ( | Supplier< Color > | supplier | ) |
Sets the current value from a Supplier that supplies the latest value.