|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Input::InputNode::on_tick_if | ( | const NodeCondition & | condition, |
| const TypedHook< InputContext > & | callback | ||
| ) |
Register conditional callback for input received.
| condition | Predicate that determines when callback is triggered |
| callback | Function to call when condition is met |
The callback receives an InputContext with the current value and input details. Fires on every process_input() call where the condition returns true.
Definition at line 145 of file InputNode.cpp.
References MayaFlux::Nodes::Node::m_conditional_callbacks.
Referenced by while_in_range().
Here is the caller graph for this function: