MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / CanBeTargetedBy

Method CanBeTargetedBy

Source/ClickButton.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bool ClickButton::CanBeTargetedBy(PatchCableSource* source) const
191{
192 if (source->GetConnectionType() == kConnectionType_Pulse)
193 return true;
194 return IUIControl::CanBeTargetedBy(source);
195}
196
197void ClickButton::OnPulse(double time, float velocity, int flags)
198{

Callers

nothing calls this directly

Calls 1

GetConnectionTypeMethod · 0.45

Tested by

no test coverage detected