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

◆ on_threshold_rising()

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

Register callback for threshold crossing (rising edge)

Parameters
thresholdValue threshold
callbackFunction to call when value crosses threshold upward

Definition at line 142 of file InputNode.cpp.

143{
145}
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_RISING
Value crossed threshold upward.

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

+ Here is the call graph for this function: