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

◆ get_modulators()

template<size_t N = 0>
std::vector< std::pair< ModulatorRole, std::shared_ptr< Node > > > MayaFlux::Nodes::CompositeOpNode< N >::get_modulators ( ) const
inlineoverridevirtual

Retrieves the current modulators connected to this node.

Returns
Vector of pairs containing the modulator role and the corresponding node

Reimplemented from MayaFlux::Nodes::Node.

Definition at line 516 of file NodeCombine.hpp.

517 {
518 std::vector<std::pair<ModulatorRole, std::shared_ptr<Node>>> result;
519 result.reserve(m_inputs.size());
520 for (const auto& n : m_inputs)
521 result.emplace_back(ModulatorRole::SignalMod, n);
522 return result;
523 }
std::vector< std::shared_ptr< Node > > m_inputs
ModulatorRole
Describes the role a modulator node plays relative to its owner.
Definition Node.hpp:21