Inheritance diagram for Mesh:

The range of Mesh descriptions is very flexible, and optimized for maximum graphics hardware performance.
Authoring Interface:
Mesh {
field MFFloat vertex []
field MFInt32 index []
field SFString meshType "TRIANGLE_INDEXED"
field MFString vertexDefinition []
field SFString vertexType "DYNAMIC_WRITE_ONLY_DISCARDABLE" // not implemented yet
field SFString indexType "STATIC_WRITE_ONLY" // not implemented yet
field SFBoolean castShadows true
field SFTimerNode timer NULL
field MFMeshInterpolator interpolators [ ]
}
| vertex | specifies a list of vertex data, where each vertex entry consists of the number and type of data declared in the vertexDefinition field. Note that each Mesh node can contain a maximum of 65536 indexable vertices. Default value: [ ] | ||||||||||||||||||||||||||||||
| index | specifies a list of faces, where each face entry consists of a list of ordered vertex indices, formatted as declared in the meshType field. Faces are skinned with a counter-clockwise ordering of indices. Note that each Mesh node can contain a maximum of 65536 indexable vertices. Default value: [ ] | ||||||||||||||||||||||||||||||
| meshType | specifies the format for the index data, interpreted to generate the mesh geometry. Possible mesh format values include:
| ||||||||||||||||||||||||||||||
| vertexDefinition | specifies the data format for each vertex entry in the vertex field. The format specification is provided as a list of tuples, one tuple specifying each element of the vertex entry. Each tuple consists of a vertex element type plus a vertex element semantic. The vertex element semantic is used to identify the meaning of each element in the vertex entry. Possible vertex element semantics include:
| ||||||||||||||||||||||||||||||
| vertexType | specifies a buffer management policy for the vertex field. Used to support advanced optimizations of hardware graphics utilization. See indexType, below, for an enumeration of possible buffer management policy values. Default value: "DYNAMIC_WRITE_ONLY_DISCARDABLE" | ||||||||||||||||||||||||||||||
| indexType | specifies a buffer management policy for the index field. Used to support advanced optimizations of hardware graphics utilization. Possible buffer management policy values include:
| ||||||||||||||||||||||||||||||
| castShadows | specifies whether this mesh will cast a shadow when shadow processing is enabled. Default value: true | ||||||||||||||||||||||||||||||
| timer | supplies a Timer node to activate and control mesh interpolation. Default value: NULL | ||||||||||||||||||||||||||||||
| interpolators | specifies a set of vertex poses, used to animate the vertex data within this Mesh. See MeshInterpolator. Default value: [ ] |
XXX To be written
1.4.3