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

◆ bind() [3/4]

template<typename T >
void MayaFlux::Portal::Forma::Bridge::bind ( std::shared_ptr< MappedState< T > >  state,
std::function< float()>  source 
)
inline

Definition at line 132 of file Bridge.hpp.

133 {
134 bind(ref_of(state), std::move(source));
135 }
static ElementRef ref_of(const std::shared_ptr< MappedState< T > > &state)
Definition Bridge.hpp:702
void bind(const ElementRef &ref, std::shared_ptr< Nodes::Node > node, std::function< float(double)> project={})
Drive element value from a Node's output each frame.
Definition Bridge.cpp:45