Syntax
- rotateUV (uvSet, rotAngle)
Parameters
- uvSet—integer (range[0,5])Number of texture coordinates set. The numbering corresponds to the texture layers of the material attribute, see also texturing: essential knowledge.
- rotAngle—floatDefines the angle of the rotation.
Description
The rotateUV operation rotates the texture coordinates (uvs) of the current shape by the rotAngle.
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.
|