translateUV operation
Syntax
translateUV(uvSet, uOffset, vOffset)
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. - uOffset (float)
How much to translate in u direction. - vOffset (float)
How 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).
Related
- copyUV operation
- deleteUV operation
- normalizeUV operation
- projectUV operation
- rotateUV operation
- scaleUV operation
- setupProjection operation
- texture operation
- material.map attribute
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.