XFileGuid.MeshMaterialList Field |
Language: |
Retrieves the globally unique identifier (GUID) for mesh material list templates.
Visual Basic Public Shared MeshMaterialList As Guid C# public static Guid MeshMaterialList; C++ public: static Guid MeshMaterialList; JScript public static var MeshMaterialList : Guid
System.Guid
This field is read-only.
A Guid value that contains the GUID for mesh material list templates.
Mesh material list templates are used in a mesh object to specify which material applies to particular faces. In the following MeshMaterialList, the nMaterials member specifies how many materials are present, and the materials member specifies which material to apply.
[C#]Where:
template MeshMaterialList { < F6F23F42-7686-11CF-8F52-0040333594A3 > DWORD nMaterials; DWORD nFaceIndexes; array DWORD faceIndexes[nFaceIndexes]; [Material <3D82AB4D-62DA-11CF-AB39-0020AF71E433>] }
- 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.
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