diff --git a/Apps/Sandcastle/gallery/3D Tiles Feature Styling.html b/Apps/Sandcastle/gallery/3D Tiles Feature Styling.html index d42020abb38f..6e5b5de942d1 100644 --- a/Apps/Sandcastle/gallery/3D Tiles Feature Styling.html +++ b/Apps/Sandcastle/gallery/3D Tiles Feature Styling.html @@ -102,7 +102,7 @@ ] }, meta: { - description: "'Building id ${id} has height ${Height}.'" + description: "'Building id ${id} is positioned at latitude: ${latitude} and longitude: ${longitude}.'" } }); } @@ -134,16 +134,6 @@ }); } -// Change building color over time. -function animateColor() { - city.style = new Cesium.Cesium3DTileStyle({ - defines : { - mixValue : "(cos(${height} + ${tiles3d_tileset_time}) + 1) / 2", - }, - color : "mix(color('purple'), color('cyan'), ${mixValue})" - }); -} - Sandcastle.addToolbarMenu([{ text : 'Color By Height', onselect : function() { @@ -174,12 +164,6 @@ colorByNameRegex(); Sandcastle.highlight(colorByNameRegex); } -},{ - text : 'Animate Color', - onselect : function() { - animateColor(); - Sandcastle.highlight(animateColor); - } }]); //Sandcastle_End Sandcastle.finishedLoading();