MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ on_threshold_falling()

void MayaFlux::Nodes::Input::InputNode::on_threshold_falling ( double  threshold,
const NodeHook callback 
)

Register callback for threshold crossing (falling edge)

Parameters
thresholdValue threshold
callbackFunction to call when value crosses threshold downward

Definition at line 147 of file InputNode.cpp.

148{
150}
void add_input_callback(const NodeHook &callback, InputEventType event_type, std::optional< double > threshold={}, std::optional< std::pair< double, double > > range={}, std::optional< NodeCondition > condition={})
@ THRESHOLD_FALLING
Value crossed threshold downward.

References add_input_callback(), and MayaFlux::Nodes::Input::THRESHOLD_FALLING.

+ Here is the call graph for this function: