Is it possible to rotate uv coordinates in a script?

Just looking to rotate the uv coordinates in a scrip, for when I want a tileable texture at 45 degrees or something. Ive already got a scale script using:

renderer.material.SetTextureScale(“_MainTex”, new Vector2(scaleX, scaleY));

is it possible to rotate the texture, or uvs?

see this link :

http://docs.unity3d.com/Documentation/ScriptReference/Material.SetMatrix.html