add ToMessage() to VmcExtSettingWin
This commit is contained in:
parent
a4879eed0d
commit
cb93f0bb1c
|
@ -18,6 +18,7 @@
|
|||
|
||||
using Godot;
|
||||
using godotOscSharp;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace godotVmcSharp
|
||||
{
|
||||
|
@ -108,5 +109,15 @@ namespace godotVmcSharp
|
|||
windowClickThrough = _windowClickThrough;
|
||||
hideBorder = _hideBorder;
|
||||
}
|
||||
|
||||
public godotOscSharp.OscMessage ToMessage()
|
||||
{
|
||||
return new godotOscSharp.OscMessage(addr, new List<godotOscSharp.OscArgument>{
|
||||
new godotOscSharp.OscArgument(isTopMost, 'i'),
|
||||
new godotOscSharp.OscArgument(isTransparent, 'i'),
|
||||
new godotOscSharp.OscArgument(windowClickThrough, 'i'),
|
||||
new godotOscSharp.OscArgument(hideBorder, 'i')
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user