I need to find a way to figure out whether or not the camera frame has updated since the last time Update() had been called. I use this which works fine in the Editor:
cameraDeviceImpl.WebCam.DidUpdateThisFrame
But unfortunately that doesn't work on a mobile device.
Is there another way to get this information like a frame counter or something like that?
Hi elecman,
maybe one way of keeping track of frames is to use the ITrackerEventHanlder interface,
see:
https://developer.vuforia.com/resources/api/unity/interface_i_tracker_event_handler
The interface has a method called OnTrackablesUpdated(), which is executed for every camera frame that has been processed by Vuforia.
So, you could implement that interface, register it with the QCARBehaviour, and then you could use it to keep track of frames.