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

◆ set_amplitude()

void MayaFlux::Nodes::Generator::Generator::set_amplitude ( double  amplitude)
virtual

Sets the generator's amplitude.

Parameters
amplitudeNew amplitude value

This method updates the generator's amplitude setting, which controls the overall scaling of the generated values.

Reimplemented in MayaFlux::Nodes::Generator::Polynomial.

Definition at line 34 of file Generator.cpp.

35{
36 m_amplitude = amplitude;
37}
double m_amplitude
Base amplitude of the generator.

References m_amplitude.