In order to have a better understanding of this function then you can also refer to the documentation here. This is a function we mostly use when we are dealing with videos as augmented objects so you can also have a look at our samples and see how we define the function there.
I hope this helps Eva
over 6 years ago
I figured it out thanks. I hope that wasn't too much of a newb question. More coming :-) I'm sure
The documentation for the onEnterFieldOfVision event of the Trackable2DObject says that the event payload is a string containing the targetName
this may be a newb question but how do I access the payload within the function I define for the event?
Could you show me a quick example?