cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable gestures until all steps finished playing (Hololens)

SOLVED
AS_9764990
Garnet

Disable gestures until all steps finished playing (Hololens)

Is it possible to disable the gesture until all steps finished playing? Example, after the last step (step 10) in first view done playing, the gesture automatically enable. 

 

Or is there any other solution to prevent from user skip the first view? 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Disable gestures until all steps finished playing (Hololens)

Hi,

 

assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:

$scope.checkStep = function(){
     if($scope.view.wdg["model-1"].currentStep == 10){
          $scope.navigate("viewname");
     }
}

Call the function from the click event of the button. It will only work if the current step is equal to 10.

View solution in original post

2 REPLIES 2

Re: Disable gestures until all steps finished playing (Hololens)

Hi,

 

assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:

$scope.checkStep = function(){
     if($scope.view.wdg["model-1"].currentStep == 10){
          $scope.navigate("viewname");
     }
}

Call the function from the click event of the button. It will only work if the current step is equal to 10.

View solution in original post

Re: Disable gestures until all steps finished playing (Hololens)

Thank you so much

Announcements
Join an
AR Working Group!

Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection