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

Method updateValueMode

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:438–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438bool ScriptModulationMatrix::updateValueMode(String source, String target, String valueMode)
439{
440 if(um == nullptr)
441 return updateValueModeInternal(source, target, valueMode);
442 else
443 {
444 auto oldValue = getValueModeData(source, target)[scriptnode::PropertyIds::Value];
445 var newValue(valueMode);
446
447 return um->perform(new MatrixUndoAction(this, MatrixUndoAction::ActionType::ValueMode, oldValue, newValue, source, target));
448 }
449}
450
451
452String ScriptModulationMatrix::toBase64()

Callers 2

updateConnectionDataMethod · 0.80

Calls 15

getSourceModMethod · 0.80
getOriginalModulatorMethod · 0.80
getSourceCableMethod · 0.80
containsTargetMethod · 0.80
forEachFunction · 0.50
performMethod · 0.45
getTypeIndexMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45
disconnectMethod · 0.45
setBypassedMethod · 0.45

Tested by

no test coverage detected