5.17. Face (element)

<face> ‐ A face in a subdivision (a mesh)

5.17.1. Attributes

NameTypeDefaults
indexINTEGERNone

5.17.2. Description

This element expects three values in its scope: three integer values which represent the three indices of the vertices in the tabvertex. The index attribute is required when the face is the child element of tabface.

5.17.3. Expected child

None.

5.17.4. Example

The example below defines the face made of the first three vertices.

<face index="1">
  1 2 3
</face>