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

Function createLightParam

include/helpers.hpp:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163*/
164template <class TParamWidget>
165TParamWidget* createLightParam(math::Vec pos, engine::Module* module, int paramId, int firstLightId) {
166 TParamWidget* o = createParam<TParamWidget>(pos, module, paramId);
167 o->getLight()->module = module;
168 o->getLight()->firstLightId = firstLightId;
169 return o;
170}
171
172
173template <class TParamWidget>

Callers

nothing calls this directly

Calls 1

getLightMethod · 0.45

Tested by

no test coverage detected