add ToMessage() for VmcExtMidiCcBit
This commit is contained in:
parent
802f2997c2
commit
2dc68d01e4
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -56,5 +57,13 @@ namespace godotVmcSharp
|
|||
knob = _knob;
|
||||
active = _active;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{
|
||||
new godotOscSharp.OscArgument(knob, 'i'),
|
||||
new godotOscSharp.OscArgument(active, 'i')
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user