Syntax
- rotateUV(uvSet, angle)
Parameters
- uvSet—float Number of texture coordinates set (integer number in [0,9]). The numbering corresponds to the texture layers of the material attribute, see also texturing: essential knowledge.
- angle—floatDefines the angle of the rotation.
Description
The rotateUV operation rotates the texture coordinates (uvs) of the current shape by the angle.
Note:
- The rotation center is at the texture position u=0 and v=0.
- Rotating uvs works only after the uvs have been projected.
Related
Examples
Here is an example of standard uvs and rotated uvs.
|