Skip to main content
1-Visitor
August 12, 2019
Solved

Bind application events with 3D model(hololens development)

  • August 12, 2019
  • 1 reply
  • 1610 views

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)

Best answer by ytella

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

ytella17-PeridotAnswer
17-Peridot
August 12, 2019

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!