Model Item colors are not showing up in View
The colors applied to the model items are not showing up when it is being viewed using the Vuforia View App.
Aby idea why this is happening?
Avinash
The colors applied to the model items are not showing up when it is being viewed using the Vuforia View App.
Aby idea why this is happening?
Avinash
The problem is that some time when the model widget has a sequence property set to a figure e.g. figure-1 and it could override the colors . Therefore, is good to check if the sequence property is set and to unset it. OK, only the relevant is this line :
$scope.setWidgetProp('model-1','sequence', undefined);
another way ->you can try to set directly the modelItem without modelItem explicit widget definition is some call like this:
$timeout(function() {
tml3dRenderer.setColor('model-1-/0/0/4/1','rgba(44, 130, 201,1);');
},500)
where 'model-1' is the widget name of the model widget and /0/0/4/1 is the ModelItem widget occurrence path
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.