Syntax
- translateUV(uvSet, uOffset, vOffset)
Parameters
- uvSet—floatNumber 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.
- uOffset—floatHow much to translate in u direction.
- vOffset—floatHow much to translate in v direction.
Description
The translateUV operation translates the corresponding texture layer by adding uOffset and vOffset to each of its texture coordinates. For example, to move the texture to the right by half of the width, use translateUV(0,0.5,0).