add ToMessage() for VmcExtMidiCcVal
This commit is contained in:
parent
93a2f6d6ef
commit
772888af14
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -46,5 +47,13 @@ namespace godotVmcSharp
|
|||
knob = _knob;
|
||||
value = _value;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{
|
||||
new godotOscSharp.OscArgument(knob, 'i'),
|
||||
new godotOscSharp.OscArgument(value, 'f')
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user