Animating UI material properties?

Anyone know how to do it?

Say I create a Material whose shader exposes a property called BlurDistance. If I apply that Material to a simple Cube GameObject, then I can create an animation for that Cube with keyframes on the BlurDistance property.

However, if I apply that same texture to an Image (the 4.6 UI component), and try to animate that, BlurDistance is not exposed.

It seems a bit odd to me that this is exposed in the first case but not the second.

If this is by design, do I need to create some new property for the animation to keyframe off of and then just use the setter of that property to set BlurDistance?

I don’t think animation can touch material properties. But I would have thought you could hook up a public property on a script and have that feed in to the material on update. Public properties are full animatable.

Any ideas @Aras ?

Has anything changed about that ?