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

◆ NodeCondition

Predicate function type for conditional callbacks.

Evaluated each tick; the paired callback fires only when this returns true.

Example:

node->on_tick_if(
[](NodeContext& ctx) { return ctx.value > 0.8; },
[](NodeContext& ctx) { ... }
);
double value
Current sample value.
Definition Node.hpp:40
Base context class for node callbacks.
Definition Node.hpp:30

Definition at line 54 of file NodeUtils.hpp.