XFileGuid.Mesh Field |
Language: |
Retrieves the globally unique identifier (GUID) for mesh templates.
Visual Basic Public Shared Mesh As Guid C# public static Guid Mesh; C++ public: static Guid Mesh; JScript public static var Mesh : Guid
System.Guid
This field is read-only.
A Guid value that contains the GUID for mesh templates.
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#]Where:
template Mesh { <3D82AB44-62DA-11CF-AB39-0020AF71E433> DWORD nVertices; array Vector vertices[nVertices]; DWORD nFaces; array MeshFace faces[nFaces]; [...] }
- 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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center