You can set UIWidget.onRender callback now in the last Pro version, and it receives a Material parameter inside. You can then do whatever you like to this material.
Use shader globals to pass the values that can then be used in the shader to rotate the UVs.
Use shader globals to pass the values that can then be used in the shader to rotate the UVs.