|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| HookId 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 140 of file InputNode.cpp.
References MayaFlux::Nodes::adapt_hook(), MayaFlux::Nodes::HookList::add_conditional(), callback, and MayaFlux::Nodes::Node::m_conditional_callbacks.
Referenced by while_in_range().
Here is the call graph for this function:
Here is the caller graph for this function: