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

◆ set_range()

void MayaFlux::Nodes::Generator::Random::set_range ( double  start,
double  end 
)

Sets the output value range.

Parameters
startLower bound of the range
endUpper bound of the range

Defines the minimum and maximum values that the generator can produce. The actual output values will be scaled to fit within this specified range.

Definition at line 47 of file Nodes/Generators/Random.cpp.

48{
49 m_current_start = start;
50 m_current_end = end;
51}
double m_current_start
Lower bound of the current output range.
double m_current_end
Upper bound of the current output range.

References m_current_end, and m_current_start.