"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Applying new texture OnTrackingFound

Hey

 

I exported a unity project to android studio, it's just a simple textured cube in unity that gets displayed on top of vumarks

 

I want to extend the functionality and make it so when I detect a vumark in android I do somework with the ID (for example generating a texture based on a number) and then apply that to the rendered cube on top of the vumark.

 

I can't figure out how to access the ontrackingfound callback inside the android project, and haven't thought on how to get the cube to apply a new texture, maybe I have to create a new unity script and call it from within android?

 

If someone has some hints or something to read about this topic I'd be really interested.

 

Thank you