RenderStateManager.ColorVertex Property |
Language: |
Retrieves or sets a value to enable or disable per-vertex color.
Visual Basic Public Property ColorVertex As Boolean C# public bool ColorVertex { get; set; } C++ public:
property bool ColorVertex {
bool get();
void set(bool value);
}JScript public function get ColorVertex() : boolean
public function set ColorVertex(boolean);
System.Boolean
This property is read/write.
Set to true to enable per-vertex color, or false to disable it.
The default value is true.
Enabling per-vertex color allows the system to include the color defined for individual vertices in its lighting calculations. For more information, see the following topics.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.