Is there an Object Rotation Material Node?

https://docs.unrealengine.com/latest/INT/Engine/Content/Tools/RenderToTextureTools/5/index.html

Does that help?