5.77. TextureCoord (element)

<textureCoord> ‐Texture coordinates

5.77.1. Attributes

NameTypeDefaults
indexINTEGERNone
uFLOAT0.0
vFLOAT0.0

5.77.2. Description

This element defines the (u,v) texture coordinates of a 2D texture.

The float values of the u and v attributes define the texture coordinates. The index attribute is required when the textureCoord is the child element of tabtextureCoord.

5.77.3. Expected child

None.

5.77.4. Example

The example below defines the texture coordinates (0.6, 0.8).

<textureCoord index="1" u="0.6" v="0.8" />