MCPcopy Create free account
hub / github.com/VCVRack/Rack / getValue

Method getValue

src/app/MenuBar.cpp:225–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 settings::cableOpacity = math::clamp(value, getMinValue(), getMaxValue());
224 }
225 float getValue() override {
226 return settings::cableOpacity;
227 }
228 float getDefaultValue() override {
229 return 0.5;
230 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected