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

◆ on_change()

void MayaFlux::Nodes::Generator::Logic::on_change ( const NodeHook callback)

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

Parameters
callbackFunction to call when output changes state

Definition at line 576 of file Logic.cpp.

577{
579}
void add_callback(const NodeHook &callback, LogicEventType type, const std::optional< NodeCondition > &condition=std::nullopt)
Adds a callback to the list of all callbacks.
Definition Logic.hpp:588

References add_callback(), and MayaFlux::Nodes::Generator::CHANGE.

+ Here is the call graph for this function: