MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetModifyValue

Method GetModifyValue

Source/Slider.cpp:644–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644float* FloatSlider::GetModifyValue()
645{
646 if (!TheSynth->IsLoadingModule() && mModulator && mModulator->Active() && mModulator->CanAdjustRange())
647 return &mModulator->GetMax();
648 if (mIsSmoothing)
649 return &mSmoothTarget;
650 return mVar;
651}
652
653void FloatSlider::Double()
654{

Callers

nothing calls this directly

Calls 4

IsLoadingModuleMethod · 0.80
ActiveMethod · 0.45
CanAdjustRangeMethod · 0.45
GetMaxMethod · 0.45

Tested by

no test coverage detected