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

◆ set_temperature_gain()

void MayaFlux::Buffers::BuoyancyProcessor::set_temperature_gain ( float  gain)

Set the coefficient on the temperature difference.

Parameters
gainMultiplier. Zero disables the rise term.

Definition at line 121 of file BuoyancyProcessor.cpp.

122{
123 m_temperature_gain = gain;
124 if (get_volume()) {
125 write_tail();
126 }
127}
void write_tail()
Write every parameter past the shared prefix.
const std::shared_ptr< VolumeGridBuffer > & get_volume() const
The attached volume, or null if attachment failed validation.

References MayaFlux::Buffers::VolumeFieldProcessor::get_volume(), m_temperature_gain, and write_tail().

+ Here is the call graph for this function: