scaleUv

Syntax

  • scaleUV(uvSet, uFactor, vFactor)

Parameters

  1. uvSetfloatNumber 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.
  2. uFactorfloat A factor to multiply all texture coordinates in u-direction.
  3. vFactorfloat A factor to multiply all texture coordinates in v-direction.

Description

The scaleUV operation scales the corresponding texture layer by multiplying each of its texture coordinates with uFactor and vFactor

Was this article helpful?