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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Bind application events with 3D model(hololens development)

lundha
7-Bedrock

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)

ACCEPTED SOLUTION

Accepted Solutions
ytella
17-Peridot
(To:lundha)

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!

 

View solution in original post

1 REPLY 1
ytella
17-Peridot
(To:lundha)

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!

 

Announcements

Top Tags