Support for Wikitude Software Development Kit and tools is coming to an end. All the details can be found here. Kindly note that no new topics can be started on the forum from 21.09.2023. Also, some of the FAQs here (especially license related ones) might become inaccurate.
The API reference http://www.wikitude.com/external/doc/documentation/latest/titanium/referencetitanium.html starts with
"NOTE: All the following code snippets assume that there is a variable called wikitude that was created using the following line of code."
var wikitude = require('com.wikitude.ti');
But the most following code snippets are wrong, i.e.
wikitude.loadArchitectWorldFromURL(...); wikitude.callJavaScript(...); wikitude.captureScreen(...);
You have to call these methods on the created Wikitude view
var arView = wikitude.createWikitudeView(...);
and then call
arView.loadArchitectWorldFromURL(...); arView.callJavaScript(...); arView.captureScreen(...);
!
Hello Hendrik,
that is indeed a significant oversight. Thanks for bringing this up. I created an issue in our internal tracking system.
I think we will schedule this to be fixed very soon.
Thanks,
- Daniel
Hendrik Bugdoll
The API reference http://www.wikitude.com/external/doc/documentation/latest/titanium/referencetitanium.html starts with
"NOTE: All the following code snippets assume that there is a variable called wikitude that was created using the following line of code."
But the most following code snippets are wrong, i.e.
You have to call these methods on the created Wikitude view
and then call
!