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

Method removeEffect

hi_scripting/scripting/api/ScriptingApi.cpp:6473–6482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6471}
6472
6473bool ScriptingApi::Synth::removeEffect(var effect)
6474{
6475 if (auto fx = dynamic_cast<ScriptingObjects::ScriptingEffect*>(effect.getObject()))
6476 {
6477 EffectProcessor* effectToRemove = fx->getEffect();
6478 return moduleHandler.removeModule(effectToRemove);
6479 }
6480
6481 return false;
6482}
6483
6484int ScriptingApi::Synth::getModulatorIndex(int chain, const String &id) const
6485{

Callers

nothing calls this directly

Calls 3

getObjectMethod · 0.45
getEffectMethod · 0.45
removeModuleMethod · 0.45

Tested by

no test coverage detected