add ToMessage() function for VmcExtBlendVal
This commit is contained in:
parent
c72cb2d6ec
commit
e405477b79
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
using Godot;
|
using Godot;
|
||||||
using godotOscSharp;
|
using godotOscSharp;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace godotVmcSharp
|
namespace godotVmcSharp
|
||||||
{
|
{
|
||||||
|
@ -131,5 +132,9 @@ namespace godotVmcSharp
|
||||||
name == "mouthStretchLeft" || name == "mouthStretchRight" ||
|
name == "mouthStretchLeft" || name == "mouthStretchRight" ||
|
||||||
name == "tongueOut";
|
name == "tongueOut";
|
||||||
}
|
}
|
||||||
|
public godotOscSharp.OscMessage ToMessage()
|
||||||
|
{
|
||||||
|
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{new godotOscSharp.OscArgument(name, 's'), new godotOscSharp.OscArgument(value, 'f')});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user