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

◆ on_change()

HookId MayaFlux::Nodes::Generator::Logic::on_change ( const TypedHook< LogicContext > &  callback)

Registers a callback for any state change (true↔false)

Parameters
callbackFunction to call when output changes state

Definition at line 787 of file Logic.cpp.

788{
790}
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::CHANGE.

+ Here is the call graph for this function: