Model visibility / opacity in HoloLens Experience
Hello
I'm working on an HoloLens experience where I want to make some models invisible. Somehow it's not possible to change the visibility attribute of the models and also the forceHidden attribute does not work on the HoloLens...
I also tried it with the opacity all the following commands don't work neither. To check if its principally working I added the command to move the model on the z-axis and this works.
$scope.app.voiceHideSteelwork = function() {
voiceHideSteelwork();
}
function voiceHideSteelwork() {
$scope.setWidgetProp('model-1','z','0');
$scope.setWidgetProp('model-1','opacity','0.5');
$scope.view.wdg['model-1'].opacity = 0.5;
$scope.view.wdg['model-1']['opacity'] = 0.5;
$scope.setWidgetProp('modellItem-1','opacity','0.5');
$scope.view.wdg['modellItem-1'].opacity = 0.5;
$scope.view.wdg['modellItem-1']['opacity'] = 0.5;
}
Can somebody help me to make a model invisible?
Best regards
David

