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

Method timerCallback

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:786–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784
785
786void ScriptModulationMatrix::TargetDataBase::timerCallback()
787{
788 auto thisValue = getModValue();
789
790 if (thisValue != lastValue)
791 {
792 lastValue = thisValue;
793 dynamic_cast<ScriptComponent*>(sc.getObject())->sendRepaintMessage();
794 }
795}
796
797void ScriptModulationMatrix::TargetDataBase::init(const var& json)
798{

Callers

nothing calls this directly

Calls 3

getModValueFunction · 0.85
sendRepaintMessageMethod · 0.45
getObjectMethod · 0.45

Tested by

no test coverage detected