diff --git a/VmcMessages/VmcExtBlendVal.cs b/VmcMessages/VmcExtBlendVal.cs index aeba14d..e649d06 100644 --- a/VmcMessages/VmcExtBlendVal.cs +++ b/VmcMessages/VmcExtBlendVal.cs @@ -18,6 +18,7 @@ using Godot; using godotOscSharp; +using System.Collections.Generic; namespace godotVmcSharp { @@ -131,5 +132,9 @@ namespace godotVmcSharp name == "mouthStretchLeft" || name == "mouthStretchRight" || name == "tongueOut"; } + public godotOscSharp.OscMessage ToMessage() + { + return new godotOscSharp.OscMessage(addr, new List{new godotOscSharp.OscArgument(name, 's'), new godotOscSharp.OscArgument(value, 'f')}); + } } } \ No newline at end of file