MCPcopy Create free account
hub / github.com/christophhart/HISE / updateIntensity

Method updateIntensity

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:423–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423bool ScriptModulationMatrix::updateIntensity(String source, String target, float intensityValue)
424{
425 if (um == nullptr)
426 {
427 return updateIntensityInternal(source, target, intensityValue);
428 }
429 else
430 {
431 auto oldValue = getIntensitySliderData(source, target)[scriptnode::PropertyIds::Value];
432 var newValue(intensityValue);
433
434 return um->perform(new MatrixUndoAction(this, MatrixUndoAction::ActionType::Intensity, oldValue, newValue, source, target));;
435 }
436}
437
438bool ScriptModulationMatrix::updateValueMode(String source, String target, String valueMode)
439{

Callers 2

updateConnectionDataMethod · 0.80

Calls 9

getSourceModMethod · 0.80
getOriginalModulatorMethod · 0.80
isBipolarFreqModMethod · 0.80
getSourceCableMethod · 0.80
containsTargetMethod · 0.80
forEachFunction · 0.50
performMethod · 0.45
updateValueMethod · 0.45

Tested by

no test coverage detected