<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility. in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689870#M8823</link>
    <description />
    <pubDate>Sun, 27 Sep 2020 07:09:27 GMT</pubDate>
    <dc:creator>Ace_Rothstein</dc:creator>
    <dc:date>2020-09-27T07:09:27Z</dc:date>
    <item>
      <title>How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689870#M8823</link>
      <description />
      <pubDate>Sun, 27 Sep 2020 07:09:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689870#M8823</guid>
      <dc:creator>Ace_Rothstein</dc:creator>
      <dc:date>2020-09-27T07:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689913#M8825</link>
      <description>&lt;P&gt;Hello ES_9419715,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution might be to use CSS stylesheet to do fade in and fade out.&lt;/P&gt;
&lt;P&gt;Please have a look to this post :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/30125705/css-how-to-make-an-element-fade-in-and-then-fade-out" target="_blank"&gt;https://stackoverflow.com/questions/30125705/css-how-to-make-an-element-fade-in-and-then-fade-out&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About the event, I would recommend to look in these posts in PTC Community :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/List-of-Vuforia-Studio-events-which-we-could-be-used-as-listener/ta-p/613258" target="_blank"&gt;https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/List-of-Vuforia-Studio-events-which-we-could-be-used-as-listener/ta-p/613258&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Vuforia-Studio/Bind-a-Javascript-function-to-an-Application-Event/td-p/523304" target="_blank"&gt;https://community.ptc.com/t5/Vuforia-Studio/Bind-a-Javascript-function-to-an-Application-Event/td-p/523304&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 07:23:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689913#M8825</guid>
      <dc:creator>sdidier</dc:creator>
      <dc:date>2020-09-28T07:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689942#M8828</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/315546"&gt;@Ace_Rothstein&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you can achieve this effect also with javascript. Here is an sample code which will work generally for widget which supports the opacity property e.g. 3D widgets modelItem, model or 3DImage etc. :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;$scope.fadeOut = function(widget, time, interval) {
  let w = (widget.opacity !== undefined ? widget : $scope.view.wdg[widget]); //wiget name or widget it self
  if (time &amp;lt;= 0 || interval &amp;lt;= 0 || w.opacity === undefined) { throw "Cannot fade this widget"; }
  let steps = Math.floor(time / interval);
  let opDelta = w.opacity / steps;
  return $interval(() =&amp;gt; w.opacity = (opDelta &amp;lt; w.opacity) ? (w.opacity - opDelta) : 0, interval, steps);
}

$scope.fadeIn = function(widget, targetOpacity,time, interval) {
  let w = (widget.opacity !== undefined ? widget : $scope.view.wdg[widget]);
  if (time &amp;lt;= 0 || interval &amp;lt;= 0 || w.opacity === undefined) { throw "Cannot fade this widget"; }
  let steps = Math.floor(time / interval);
  let opDelta = targetOpacity / steps;
  return $interval(() =&amp;gt; w.opacity = (targetOpacity &amp;gt; w.opacity) ? (w.opacity + opDelta) : targetOpacity, interval, steps);
}

//call of the fadeOut for different widget with different time
$scope.testFadeOut= function()
{
  
$timeout( ()=&amp;gt;{$scope.fadeOut($scope.view.wdg['modelItem-1'],2000,200) } ,500)
$timeout( ()=&amp;gt;{$scope.fadeOut($scope.view.wdg['modelItem-2'],4000,200) } ,1500) 
$timeout( ()=&amp;gt;{$scope.fadeOut($scope.view.wdg['modelItem-3'],6000,200) } ,2500)
$timeout( ()=&amp;gt;{$scope.fadeOut($scope.view.wdg['model-1']    ,5000,200) } ,3500)
}
/call of the fadeIn for different widget with different time
$scope.testFadeIn= function()
{
  $timeout( ()=&amp;gt;{$scope.fadeIn($scope.view.wdg['modelItem-1'],0.8,2000,200) } ,500)
  $timeout( ()=&amp;gt;{$scope.fadeIn($scope.view.wdg['modelItem-2'],0.9,4000,200) } ,1500)
  $timeout( ()=&amp;gt;{$scope.fadeIn($scope.view.wdg['modelItem-3'],1.0,6000,200) } ,2500)
  $timeout( ()=&amp;gt;{$scope.fadeIn($scope.view.wdg['model-1']     ,1.0,5000,200) } ,3500)
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this example will work where &amp;nbsp;it will &amp;nbsp;fade In or fade out different widgets (here modelItems and model) with different speed/time.&lt;/P&gt;
&lt;P&gt;Here the arguments are&lt;/P&gt;
&lt;P&gt;-the widget&lt;/P&gt;
&lt;P&gt;-the time where the fade in/out should be completed,&lt;/P&gt;
&lt;P&gt;-the interval step&lt;/P&gt;
&lt;P&gt;-for fade in function the target opacity&lt;/P&gt;
&lt;P&gt;Here when I tested it in a project:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-28_11-49-43.jpg" style="width: 998px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/31951iFD106CEFCF5EEAF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-09-28_11-49-43.jpg" alt="2020-09-28_11-49-43.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can test it as mentioned for widget which supports the opacity property. The $timeout service was used to call the functions with some delay.&lt;/P&gt;
&lt;P&gt;You mentioned "to trigger" in your question. I think one possible way to trigger a function call depending on value change is to use $watch construct. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;$scope.$watch('view.wdg["model-1"].currentStep', function(val) {
 //will call this function when the currentStep will chnage
if(val==2) $scope.testFadeOut();
if(val==4) $scope.testFadeIn();
    $scope.$applyAsync();
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here we will call the function when the value of &amp;nbsp;a widget property e.g. here currentStep (widget 'model-1') will change. We can also here via the function argument also the step value&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can watch also an application parameter – example app parameter &amp;nbsp;renderLevel:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;//=============================================================
$scope.$watch('app.params.renderLevel', function (newValue, oldValue, scope) {
 // console.warn("called watch function with newValue=" +newValue+ " &amp;lt;=&amp;gt; oldValue was="+oldValue+ " &amp;lt;=&amp;gt; scope.renderLevel="+scope.renderLevel);
  //pay attention here is scope without $ !
   if(scope.renderLevel!= undefined) {
    //console.log('new value of renderLevel = '+newValue);
    scope.shaderUpdate(scope.renderLevel)
    $scope.$applyAsync();
  }
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:17:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/689942#M8828</guid>
      <dc:creator>RolandRaytchev</dc:creator>
      <dc:date>2020-09-28T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/718607#M9563</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/24955"&gt;@RolandRaytchev&lt;/a&gt;&amp;nbsp;! Also is there a way to change the color of the font in a 3D Gauge after it achieves a certain value or after a particular time delay? Is there any Font attributes to change the font outline also.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 06:33:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/718607#M9563</guid>
      <dc:creator>Ace_Rothstein</dc:creator>
      <dc:date>2021-03-15T06:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/718652#M9566</link>
      <description>&lt;P&gt;Yes this is possible.&lt;/P&gt;
&lt;P&gt;To change the text you can use e.g. watch and some code like :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$scope.$watch('view.wdg["3DGauge-1"].text', function(val) {
 //will call this function when the currentStep will chnage
if(parseFloat(val)&amp;gt;=50) { // suposing that the text contains a float value
    $scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(255, 0, 0,1);textbaseline:top;textalign:left");
    $scope.setWidgetProp("3DGauge-1","font","Courier");
    $scope.setWidgetProp("3DGauge-1","fontsize","60px");}
else {
      $scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(0, 255, 255, 1);textbaseline:middle;textalign:center");
     $scope.setWidgetProp("3DGauge-1","font","Arial");
     $scope.setWidgetProp("3DGauge-1","fontsize","30px");
    };
    $scope.$applyAsync();
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-15_12-30-56.gif" style="width: 697px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/38869iF6EFF66CBBD94537/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-15_12-30-56.gif" alt="2021-03-15_12-30-56.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Antoher option is&amp;nbsp; to use a style definition from Thingworx , so far I know&amp;nbsp; it should work for&amp;nbsp; 3DGauge&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To change the values and to change back after some&amp;nbsp; delays - the simple way is to use some construct like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;$scope.myFunction= function()
{
var delay1=3000;// 3 secs
var delay2= 60000;// 6seconds
$timeout(()=&amp;gt;{ 
$scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(0, 255, 255, 1);textbaseline:middle;textalign:center");
   $scope.setWidgetProp("3DGauge-1","font","Arial");
   $scope.setWidgetProp("3DGauge-1","fontsize","30px");
  $scope.$applyAsync();
},delay1); // this will  call the first setting after delay1-&amp;gt; here 3 sec

$timeout(()=&amp;gt;{ 
$scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(255, 0, 0, 1);textbaseline:top;textalign:left");
    $scope.setWidgetProp("3DGauge-1","font","Courier");
   $scope.setWidgetProp("3DGauge-1","fontsize","60px");
  $scope.$applyAsync();
},delay2); // this will call the second setting after delay2 -delay1 
//after first call 3 sec and 6 sec after call of myFunction
};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 17:08:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/718652#M9566</guid>
      <dc:creator>RolandRaytchev</dc:creator>
      <dc:date>2021-03-15T17:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/721306#M9636</link>
      <description>&lt;P&gt;Any idea about changing the font outline too? It appears that the font outline of the text in 3D gauges is white by default. It doesn't give a smooth transition effect unless the font outline changes too.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 18:24:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/721306#M9636</guid>
      <dc:creator>Ace_Rothstein</dc:creator>
      <dc:date>2021-03-27T18:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/721503#M9639</link>
      <description>&lt;P&gt;to have&amp;nbsp; an&amp;nbsp; apperance of the text outline like in this picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-29_13-15-56.jpg" style="width: 932px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/39662iBA8B5F2DF90D2643/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-29_13-15-56.jpg" alt="2021-03-29_13-15-56.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;some code like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt; $scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(0, 0, 255, 1);textbaseline:top;textalign:left;font-size: 40px;stroke:green;colostroke-width: 3px;");
$scope.setWidgetProp("3DGauge-1","font","Arial");
$scope.setWidgetProp("3DGauge-1","fontsize","30px");&lt;/LI-CODE&gt;
&lt;P&gt;and&amp;nbsp;to have&amp;nbsp; an&amp;nbsp; apperance of the text outline like in the second picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-29_13-16-07.jpg" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/39663iA6CE7EF29ACBB8F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-29_13-16-07.jpg" alt="2021-03-29_13-16-07.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;some code like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;  $scope.setWidgetProp("3DGauge-1","textattrs","fill:rgba(255, 0, 0, 1);textbaseline:top;textalign:left;font-size: 40px;stroke:black;colostroke-width: 3px");
    $scope.setWidgetProp("3DGauge-1","font","Courier");
   $scope.setWidgetProp("3DGauge-1","fontsize","60px");&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 11:24:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/721503#M9639</guid>
      <dc:creator>RolandRaytchev</dc:creator>
      <dc:date>2021-03-29T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722462#M9657</link>
      <description>&lt;P&gt;Works as expected. Thanks&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/24955"&gt;@RolandRaytchev&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 18:12:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722462#M9657</guid>
      <dc:creator>Ace_Rothstein</dc:creator>
      <dc:date>2021-04-02T18:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722729#M9663</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/24955"&gt;@RolandRaytchev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the tips!&lt;/P&gt;
&lt;P&gt;But still I have a question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3D Gauge Widget Text properties could be controlled by&amp;nbsp;&lt;EM&gt;textattrs&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;But how to proceed the same modification to a 3D Label Widget?&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;let theColor = 'rgba(' + R + ',' + G + ',' + B + ',1);';        
$scope.setWidgetProp("3DLabel-1", "fontColor", theColor)
$scope.setWidgetProp("3DGauge-1","textattrs","fill:" + theColor + "textbaseline:middle;textalign:center;font-size: 40px;stroke:white;colostroke-width: 3px;");&lt;/LI-CODE&gt;
&lt;P&gt;The code above modify the Text Color of&amp;nbsp;3D Gauge Widget Text, but does nothing to&amp;nbsp;3D Label Widget Text.&lt;/P&gt;
&lt;P&gt;What to resolve the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 06:17:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722729#M9663</guid>
      <dc:creator>dsgnrClarK</dc:creator>
      <dc:date>2021-04-06T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fade in and fade out effect for a 3D Image when it is triggered for visibility.</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722779#M9667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/298295"&gt;@dsgnrClarK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes , this is a good question. In fact I needed some tests to find out the difference here. I think this is a point what depends on the internal implementation of the widget.&lt;/P&gt;
&lt;P&gt;So , what I believe (not 100% but seem to work) is that the Text appearance attribute on the toggle does not follow a CSS definition (also there is not explicit class attribute for this widget) but it use the SVG attributes according to the SVG attribute reference&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Fills_and_Strokes" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Fills_and_Strokes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The 3D label widget seem not to use the SVG attributes but it could be driven by the properties (&lt;STRONG&gt;Font Family Font Color, Font Outline Color and scale ) &lt;/STRONG&gt;dr Also for the 3d Label you can use css style definition according to the Vuforia Studio Help : &lt;A href="http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidget3DLabel.html" target="_blank"&gt;http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidget3DLabel.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So for example the class defintion in the STYLES &amp;gt;Applicaiton :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.ptc-3DLabel {  
  	font-family: Century Gothic;
  	color: black;
  	--text-stroke-color: yellow;
  	--text-stroke-width: 3px; /*csslint ignore*/
  	font-weight: normal;
  	font-style: italic;
  	background-color: grey;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;will change the apperance of the 3DLabel to :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-04-06_12-27-12.jpg" style="width: 882px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40026iB448C4B1DA1CD5E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-04-06_12-27-12.jpg" alt="2021-04-06_12-27-12.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 10:31:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-create-a-fade-in-and-fade-out-effect-for-a-3D-Image-when/m-p/722779#M9667</guid>
      <dc:creator>RolandRaytchev</dc:creator>
      <dc:date>2021-04-06T10:31:16Z</dc:date>
    </item>
  </channel>
</rss>

