Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
CaliberMengsk's avatar
13 years ago

C# Wrapper?

So after looking through the SDK a bit, it seems everything is C++ based. While that's all fine and dandy for being the more efficient language, it's much more complex then I am use to working with, and is a lot harder to follow. I have very little experience with C++ and while I know about wrappers (a way for something like c# to call functions from a C++ script and get data back) I don't have a clue how to make them myself.

Is there a wrapper for c# already made, and if not, can someone either make one, or at least tell me where I can get started on writing my own?

I'm currently going to be writing a c# interface with unity that will be able to take data from my own vr glove thing to unity (already can send/receive data to/from unity), and I could build on top of that support for the oculus with the free version of unity. The only thing I wouldn't be able to do is distort the image properly for video, but could be a simple way to get the oculus' data.

I should also note that I don't have an oculus yet (waiting for it to be shipped since november T_T) so I can't test anything until mine comes in.

Anyway, any help with this would be much appreciated.

25 Replies