Closed enzyme69 closed 6 years ago
You could always do this.
var message = OSCMessage( OSCAddressPattern("/hello/iPhoneX")) for data in dataY { message.add(data.x) message.add(data.y) message.add(data.z) }
And since you made a valid point I added a new overload init for OSCMessage that accepts arrays. It's currently in the develop branch.
You can now do this.
let message = OSCMessage( OSCAddressPattern("/hello/iPhoneX"), mymessage)
Thanks Devin!
Probably more like a basic Swift question, but anyhow maybe you have a good tips.
Supposedly there are thousands of vertices XYZ position (exactly that) and I need to send message via OSC.
Would not there be a way to just to do this: