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

Bind application events with 3D model(hololens development)

SOLVED
Regular Member

Bind application events with 3D model(hololens development)

I would like to bind events when developing for the Hololens. E.g make a Gauge visible with a hand gesture or voice command in the Hololens. However I do not get any services available when trying to bind it.(ref attachment)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Bind application events with 3D model(hololens development)

Hi @lundha ,

As far as I know, the application events can be bound to a service to complete actions like playing a sequence. One of the ways to alter the gauge visibility is by defining a javascript function on Home.js and call it in the application event.

 

$scope.GaugeVisibility = function()
{
  $scope.view.wdg['3DGauge-1']['visible'] = true;
}

Screenshot_34.pngHope this helps!

 

1 REPLY 1

Re: Bind application events with 3D model(hololens development)

Hi @lundha ,

As far as I know, the application events can be bound to a service to complete actions like playing a sequence. One of the ways to alter the gauge visibility is by defining a javascript function on Home.js and call it in the application event.

 

$scope.GaugeVisibility = function()
{
  $scope.view.wdg['3DGauge-1']['visible'] = true;
}

Screenshot_34.pngHope this helps!