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

◆ on_tick_if()

HookId MayaFlux::Nodes::Generator::Logic::on_tick_if ( const NodeCondition &  condition,
const TypedHook< LogicContext > &  callback 
)

Registers a conditional callback for generated samples.

Parameters
callbackFunction to call when condition is met
conditionPredicate that determines when callback is triggered

Definition at line 772 of file Logic.cpp.

773{
775}
PickCallback callback
Definition Picker.cpp:22
HookId add_callback(const TypedHook< LogicContext > &callback, LogicEventType type, const std::optional< NodeCondition > &condition=std::nullopt)
Adds a callback to the list of all callbacks.
Definition Logic.hpp:740

References add_callback(), callback, and MayaFlux::Nodes::Generator::CONDITIONAL.

+ Here is the call graph for this function: