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

◆ on_tick()

void MayaFlux::Nodes::Generator::Logic::on_tick ( const TypedHook< LogicContext > &  callback)

Registers a callback for every generated sample.

Parameters
callbackFunction to call when a new sample is generated

Definition at line 563 of file Logic.cpp.

564{
566}
void 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:624

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

+ Here is the call graph for this function: