Material Function - World Aligned Texture/Normal With offset & Rotation

Hi Luos Would it be possible to control the texture rotation by the object Orientation?
This is so if you have a brick texture and you rotated the model to a slope the bricks would not stay and 90deg and stay with the models Orientation.