Dynamically change entity outline color

Hello, I am trying to dynamically change an entity's outline color based on time. I found this discussion that helped me change the material color itself:
https://groups.google.com/forum/#!topic/cesium-dev/pgQ89cER9b0

I take that same approach and apply it to the outlineColor as shown here:

However, the outline color does not change, it just stays white. Am I doing this wrong? Is there another way to accomplish this?

Thanks,
Steven

Hey Steven,

Thanks for providing a Sandcastle link! Your problem is right here:

outlineColor: new Cesium.ColorMaterialProperty(createTimeIntervalCollectionProperty(0, 360, 15, true))

``

That should be:

outlineColor: createTimeIntervalCollectionProperty(0, 360, 15, true)

``

Since outlineColor just takes a color.

Thanks, Omar! That worked perfectly.