In fact I have on more question about creating callbacks for OptiTrack cameras. In my project, I have 2 main classes :
- the first one handles a list of cameras and inherits from INPCameraCollectionEvents.
- the second one handles a single camera from the list and inherits from INPCameraEvents.
It works very fine in that way.
Now, I'd like to define just one class (handling both a single camera and a list of cameras). So my new class inherits both from INPCameraCollectionEvents and INPCameraEvents.
But whereas collection events work fine, camera events don't work at all.
Do you have any idea about how to create a class which inherits both from INPCameraCollectionEvents and INPCameraEvents classes ?
Thanks for your answer.