How to change a View programmatically in Vuforia Studio
Oct 14, 2020
08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 14, 2020
08:01 AM
How to change a View programmatically in Vuforia Studio
Hello there fellow Vuforians!
I was wondering if anyone has a snippet showing how to change a View in Vuforia Studio. I have an Experience which will require multiple Views and respective targets. I want to code a button Event which should allow the User to jump between Views.
Any help is greatly appreciated!
EDIT: Already answered:
$scope.app.fn.navigate('Enter View Name Here');
Labels:
- Labels:
-
Coding
-
Experience Service
1 REPLY 1
Oct 15, 2020
03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 15, 2020
03:39 AM
As you already found :
$scope.app.fn.navigate('Enter View Name Here');
but also (in chrome and on mobile I think) :
$scope.navigate('TESTVIEW');
and on HoloLens:
twx.app.fn.navigate("TESTVIEW");
you can check also the post :"How to change View with JavaScript?"
