Use the Texture Transform patch with a 2D Transform Pack patch to scale, rotate, pivot and reposition a 2D texture on a 2D or 3D object.
Name | Description |
---|---|
Texture | Connect the texture asset patch to this input using either the RGBA, RGB, or A output as necessary. |
Transform | Connect the 2D Transform output on the 2D Transform Pack patch to this input. |
Name | Description |
---|---|
Output | Connect this output to the input on the consumer patch. |
In the animation below, we're using the Texture Transform patch with a 2D Transform Pack patch to animate the scale of a texture.
We achieved this transformation with the graph below:
We connected:
The RGBA output on the texture patch to the Texture input on the Texture Transform patch.
The Loop Animation and Transition patches to the Scale input on the 2D Transform Pack patch.
The Start and End values in the Transition patch are set to determine the degree the scale moves from one state to another.
The 2D Transform output on the 2D Transform Pack patch to the Transform input on the Texture Transform patch.