Microsoft DirectX 8.1 (C++)

Mesh

Defines a simple mesh. The first array is a list of vertices, and the second array defines the faces of the mesh by indexing into the vertex array.

UUID

<3D82AB44-62DA-11cf-AB39-0020AF71E433>
Member name Type Optional array size Optional data objects
nVertices DWORD   Any
vertices array Vector nVertices  
nFaces DWORD    
faces array MeshFace nFaces  

Optional Data Elements

The following optional data elements can be used.

Data element Description
MeshFaceWraps If this is not present, wrapping for both u and v defaults to false.
MeshTextureCoords If this is not present, there are no texture coordinates.
MeshNormals If this is not present, normals are generated using the GenerateNormals method of the API.
MeshVertexColors If this is not present, the colors default to white.
MeshMaterialList If this is not present, the material defaults to white.