add ToMessage() to VmcExtSetPeriod
This commit is contained in:
parent
15e61426ec
commit
319a201ee0
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -84,5 +85,17 @@ namespace godotVmcSharp
|
|||
camera = _camera;
|
||||
devices = _devices;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{
|
||||
new godotOscSharp.OscArgument(status, 'i'),
|
||||
new godotOscSharp.OscArgument(root, 'i'),
|
||||
new godotOscSharp.OscArgument(bone, 'i'),
|
||||
new godotOscSharp.OscArgument(blendShape, 'i'),
|
||||
new godotOscSharp.OscArgument(camera, 'i'),
|
||||
new godotOscSharp.OscArgument(devices, 'i'),
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user