CZML change value at a given time without interpolation.

I have a polygon that I’m defining in czml file, and I need the material to be empty 0 and then jump right to solid at 237 seconds. I’ve tried to hack it by doing this:

“rgba”:[

0, 255, 0, 0, 0,

236, 255, 0, 0, 0,

237, 255, 0, 0, 255

]

But, if I speed up the clock, depending on the speed, the interpolation either doesn’t finish getting to 255, or it doesn’t happen at all.
So is there a way to say change to this value at this time, without interpolating, or should I make a second polygon object that appears at 237?

What you want is to express the value using CZML intervals. See the CZML structure documentation:

https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure#intervals