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