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

◆ on_threshold_falling()

void MayaFlux::Nodes::Input::InputNode::on_threshold_falling ( double  threshold,
const TypedHook< InputContext > &  callback 
)

Register callback for threshold crossing (falling edge)

Parameters
thresholdValue threshold
callbackFunction to call when value crosses threshold downward

Definition at line 164 of file InputNode.cpp.

165{
167}
void add_input_callback(const TypedHook< InputContext > &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: