5.38. Normal (element)

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

5.38.1. Attributes

NameTypeDefaults
indexINTEGERNone
xFLOAT0.0
yFLOAT0.0
zFLOAT0.0

5.38.2. Description

This element defines a normal vector in 3D coordinates.

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

5.38.3. Expected child

None.

5.38.4. Example

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

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