Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi, there
Took List of Vuforia Studio events which we could be used as listener by javaScript/angular.js and How to get camera position? as reference.
Console Error "Wasn't able to setupTrackingEventsCommand because view object is not available." while experience loaded.
Click a button triggers
myTestFunction()
Nothing happen.
What do I miss here?
Thank in advance.
Solved! Go to Solution.
works with
$scope.getProps = function(){
tml3dRenderer.setupTrackingEventsCommand (function(target,eyepos,eyedir,eyeup) {}
}
H @dsgnrClarK,
what is the project type (3d mobile or Eyewear)?
And where the issue occurred - believe in Preview mode in chrome - so you mentioned console window, right?
Thanks
Hi, @RolandRaytchev
I tried both Mobile & 3D Eyewear experiences.
The Error message shows up in both experience (Chrome Preview Console).
One thing should be corrected.
On both Devices, while myTestFunction() triggered.
Label value shows 'Undefined'.
Thank you.
regards
works with
$scope.getProps = function(){
tml3dRenderer.setupTrackingEventsCommand (function(target,eyepos,eyedir,eyeup) {}
}