Syntax
- translateUV (uvSet, uOffset, vOffset)
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.
- 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).