From f0d0b3b5ab2ce1d0988d26664e29e8d8f7bb1e9c Mon Sep 17 00:00:00 2001 From: Rachel Hwang Date: Thu, 29 Jun 2017 10:23:26 -0400 Subject: [PATCH] removing the time-dynamic styling for now --- .../gallery/3D Tiles Feature Styling.html | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) 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();