How to animate Primitive's geometry

How to animate Primitive's geometry, provided that the geometry already has a custom property value for appearance.material, please help me.

See my answer here: https://groups.google.com/d/msg/cesium-dev/eKKMqhQH5LA/QjTWH1QoAAAJ

Feel free to follow up there if that doesn’t work for you. Specifically, you’ll need to define a custom vertex shader to move the vertices up and down (if you’re going for an animated wave effect).