Rotating, Moving or Placing Procedural Texture on an Object
Here I have Sphere with two textures, one red and one blue.


The Blue texture coordinates are defined by the the Sphere default generated vector input. The Red coordinates are defined by Object. The object is an Empty.



Now when I rotate the Empty you can see the Red texture following the rotation exactly.



I hope that helps.