![]() |
![]() |
![]() |
XFileGuid.MeshVertexColors Field |
Language: |
Retrieves the globally unique identifier (GUID) for mesh vertex color templates.
Visual Basic .NET Public Shared MeshVertexColors As Guid C# public static Guid MeshVertexColors; Managed C++ public: static Guid MeshVertexColors; JScript .NET public static var MeshVertexColors : Guid
System.Guid . A Guid
This field is read-only.value that contains the globally unique identifier (GUID) for mesh vertex color templates.
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#]Where:
template MeshVertexColors { <1630B821-7842-11cf-8F52-0040333594A3> DWORD nVertexColors; array IndexColor vertexColors[nVertexColors]; }
- 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center