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

Method getParameter

hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:2282–2288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2280}
2281
2282float DspNetwork::ProjectNodeHolder::getParameter(int index) const
2283{
2284 if(isPositiveAndBelow(index, 16))
2285 return parameterValues[index];
2286
2287 return 0.0f;
2288}
2289
2290bool DspNetwork::ProjectNodeHolder::isActive() const
2291{ return forwardToNode; }

Callers 2

setParameterMethod · 0.45
setEnabledMethod · 0.45

Calls 1

isPositiveAndBelowFunction · 0.85

Tested by

no test coverage detected