"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

Create ImageTarget in code

Hello, I want to create ImageTarget in my code. When I create Empty object and add ImageTargetBehavior, then I don't know, how to change database and image. Please, can you help me?

This may help:
https://developer.vuforia.com/forum/faq/unity-load-dataset-setup-trackables-runtime

 

Hello balaz94,

The following script is a short example of how to step through all your trackables and assign components or augmentations to them. You can reference the trackable's name in this loop to determine which object it is and thus how to modify it.