Cesium sampledProperty for label text?

So similar to how you "bake" values with timestamps to the position attribute (or color etc), is it possible to have the label change its text according to the timestamp?


I believe you can use a TimeIntervalCollectionProperty to define what the text should be for an interval. See the documentation for an example: http://cesiumjs.org/Cesium/Build/Documentation/TimeIntervalCollectionProperty.html



Hannah is correct if you have intervals of text, but if you have highly dynamically changing text (like showing the position of an entity) use a CallbackProperty http://cesiumjs.org/Cesium/Build/Documentation/CallbackProperty.html and it can change every frame if you want.