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

◆ set_parameter()

void MayaFlux::Nodes::Network::DeriveOperator::set_parameter ( std::string_view  param,
double  value 
)
overridevirtual

Set one coefficient.

Parameters
param"c" followed by the coefficient's index, for example "c2". Anything else, or an index past the array, is ignored.

Implements MayaFlux::Nodes::Network::NetworkOperator.

Definition at line 113 of file RelationOperators.cpp.

114{
115 const auto index = coefficient_index(param);
116 if (index && *index < m_coefficients.size()) {
118 }
119}
glm::vec3 value
uint32_t index
Definition VKDevice.cpp:122
static std::optional< size_t > coefficient_index(std::string_view param)

References coefficient_index(), index, m_coefficients, and value.

+ Here is the call graph for this function: