|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Bridge::bind | ( | const ElementRef & | ref, |
| std::function< float()> | source | ||
| ) |
Drive element value from an arbitrary per-frame callable.
Spawns a GraphicsRoutine that calls source every tick and writes the result into the element's MappedState. Replaces any existing inbound binding on this element.
| ref | Owning Layer and element id. |
| source | Callable returning current float value. |
Definition at line 61 of file Bridge.cpp.
References spawn_inbound().
Here is the call graph for this function: