XFileGuid.MeshVertexColors Field (Microsoft.DirectX.Direct3D)
Retrieves the globally unique identifier (GUID) for mesh vertex color templates.
Definition
Visual Basic Public Shared MeshVertexColors As Guid C# public static Guid MeshVertexColors;
C++ public: static Guid MeshVertexColors;
JScript public static var MeshVertexColors : Guid
Field Value
System.Guid
A Guidvalue that contains the GUID for mesh vertex color templates.
This field is read-only.
Remarks
Mesh vertex color templates specify vertex colors for a mesh, rather than applying a material per face or per mesh. The following is an example of a MeshVertexColors template.
[C#]template MeshVertexColors { <1630B821-7842-11cf-8F52-0040333594A3> DWORD nVertexColors; array IndexColor vertexColors[nVertexColors]; }Where:
- nVertexColors - Number of colors. This matches the number of vertices in the mesh.
- array IndexColor vertexColors[nVertexColors] - Array of indexed colors. For more information, see IndexedColor.
.gif)