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 |
Description
This template 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.
Optional Data Elements
The following optional data elements are used by Direct3DRM.
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() member 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.