add ToMessage() for VmcExtMidiCcBit

This commit is contained in:
Cassandra de la Cruz-Munoz 2023-08-16 19:58:43 -04:00
parent 802f2997c2
commit 2dc68d01e4

View File

@ -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')
});
}
}
}