?/TD>
Microsoft DirectX 9.0

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.

        template Mesh \
        { \
            < 3D82AB44-62DA-11cf-AB39-0020AF71E433 > \
            DWORD nVertices; \
            array vertices[Vector]; \
            DWORD nFaces; \
            array faces[Vector]; \
			
            // optional:
            meshFaceWraps template; \
            meshTextureCoordinates template; \
            meshNormals template; \
            meshVertexColors template; \
            meshMaterialList template; \
        } 

Where:

The following data elements are optional:



© 2002 Microsoft Corporation. All rights reserved.