Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the globally unique identifier (GUID) for mesh templates.
Definition
Visual Basic Public Shared Mesh As Guid C# public static Guid Mesh;
C++ public: static Guid Mesh;
JScript public static var Mesh : Guid
Field Value
System.Guid
A Guidvalue that contains the GUID for mesh templates.
This field is read-only.
Remarks
Mesh templates define a simple mesh. In the following Mesh template, the first array is a list of vertices, and the second array defines the faces of the mesh by indexing into the vertex array.
[C#]template Mesh { <3D82AB44-62DA-11CF-AB39-0020AF71E433> DWORD nVertices; array Vector vertices[nVertices]; DWORD nFaces; array MeshFace faces[nFaces]; [...] }Where:
- nVertices - Number of vertices.
- array Vector vertices[nVertices] - Array of vertices, each of type Vector.
- nFaces - Number of faces.
- array MeshFace faces[nFaces] - Array of faces, each of type MeshFace.
- [ ... ] - Any .x file template which makes the architecture extensible. The Material and TextureFilename templates typically are used.
.gif)