XFileGuid.MeshMaterialList Field (Microsoft.DirectX.Direct3D)
Retrieves the globally unique identifier (GUID) for mesh material list templates.
Definition
Visual Basic Public Shared MeshMaterialList As Guid C# public static Guid MeshMaterialList;
C++ public: static Guid MeshMaterialList;
JScript public static var MeshMaterialList : Guid
Field Value
System.Guid
A Guidvalue that contains the GUID for mesh material list templates.
This field is read-only.
Remarks
Mesh material list templates are used in a mesh object to specify which material applies to particular faces. In the following MeshMaterialList, the
nMaterialsmember specifies how many materials are present, and thematerialsmember specifies which material to apply.[C#]template MeshMaterialList { < F6F23F42-7686-11CF-8F52-0040333594A3 > DWORD nMaterials; DWORD nFaceIndexes; array DWORD faceIndexes[nFaceIndexes]; [Material <3D82AB4D-62DA-11CF-AB39-0020AF71E433>] }Where:
- nMaterials - A DWORD. The number of materials.
- nFaceIndexes - A DWORD. The number of indices.
- faceIndexes[nFaceIndexes] - An array of DWORDs that contain the face indices.
.gif)