When using the optitrack SDK with a .net language (c# for example), the tlb importer ends up turning the GetObjectData method call into something like:
Code: Select all
int ret = camFrame.GetObjectData(ref byteBuffer, buffSize);
In the meantime, I'm going to push through with c# "unsafe" code and some marshalling attributes and hopefully I'll figure out how to get this to work without the change. If anyone has any useful info on how to hack c# to use this method in its current state, info would be much appreciated.