![]() |
![]() |
![]() |
XFileGuid.Mesh Field |
Language: |
Retrieves the globally unique identifier (GUID) for mesh templates.
Visual Basic .NET Public Shared Mesh As Guid C# public static Guid Mesh; Managed C++ public: static Guid Mesh; JScript .NET public static var Mesh : Guid
System.Guid . A Guid
This field is read-only.value that contains the globally unique identifier (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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center