5.84. Vertex (element)

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

5.84.1. Attributes

NameTypeDefaults
indexINTEGERNone
xFLOAT0.0
yFLOAT0.0
zFLOAT0.0

5.84.2. Description

This element defines a vertex in a subdivision (a mesh). Vertices are used to define the faces of the mesh.

The float values of the x, y, and z attributes define the coordinates of the vertex. The index attribute is required when the vertex is the child element of tabvertex.

5.84.3. Expected child

None.

5.84.4. Example

The example below defines the vertex (0.0, 0.6, 8.0).

<vertex index="1" x="0" y="0.6" z="8" />