1- I want to have a function that takes a .mind file as parameter, and sets up the entities withmindar-image-target component (example: <a-entity mindar-image-target="targetIndex: 0">) at runtime
Is this possible, or do I need a second parameter with the number of images?
2- Can I retrieve from the .mind file, the name of the files that were used to create it?
4- Is it possible to reference more than one .mind file in the html? If it's possible to reference only one .mind file with the mindar-image component, is it possible to switch .mind files at runtime? One .mind file can reference multiple images, so the idea here is that I'd be able to change the images I want to reference by grouping them in different .mind files.
1- I want to have a function that takes a .mind file as parameter, and sets up the entities with
mindar-image-target
component (example:<a-entity mindar-image-target="targetIndex: 0">
) at runtimeIs this possible, or do I need a second parameter with the number of images?
2- Can I retrieve from the .mind file, the name of the files that were used to create it?
3- Can I compile a .mind file at runtime? If possible, how can I do it? Or does the user always need to access https://hiukim.github.io/mind-ar-js-doc/tools/compile/ to compile it beforehand?
4- Is it possible to reference more than one .mind file in the html? If it's possible to reference only one .mind file with the mindar-image component, is it possible to switch .mind files at runtime? One .mind file can reference multiple images, so the idea here is that I'd be able to change the images I want to reference by grouping them in different .mind files.
Thanks @hiukim !