normalizeUV operation

normalizeUV(uvSet, normalizeMode, normalizeType)

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.

normalizeMode selector

uvNormalizes u and v independently to the full [0, 1] range.
uvUniformNormalizes u and v with the same scale factor, preserving aspect ratio.
uNormalizes the u axis.
vNormalizes the v axis.

normalizeType selector

separatePerFaceNormalizes each face independently. Faces get their own uv entries afterwards.
collectiveAllFacesNormalizes the whole uv set together. Shared texture coordinates remain shared.

The normalizeUV operation normalizes the texture coordinates of the given uvSet. Depending on the mode, the texture coordinates are normalized to the [0, 1] range.

Related