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

Method exportAsValueTree

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:250–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250juce::ValueTree ScriptModulationMatrix::exportAsValueTree() const
251{
252 Array<var> l;
253
254 for (auto t : targetData)
255 {
256 l.addArray(*t->getConnectionData().getArray());
257 }
258
259 return ValueTreeConverters::convertVarArrayToFlatValueTree(var(l), getUserPresetStateId(), "Connection");
260}
261
262void ScriptModulationMatrix::restoreFromValueTree(const ValueTree &previouslyExportedState)
263{

Callers

nothing calls this directly

Calls 4

varFunction · 0.85
getConnectionDataMethod · 0.80
addArrayMethod · 0.45
getArrayMethod · 0.45

Tested by

no test coverage detected