RenderStateManager.ColorVertex Property |
Language: |
Retrieves or sets a value to enable or disable per-vertex color.
Visual Basic .NET Public Property ColorVertex As Boolean C# public bool ColorVertex { get; set; } Managed C++ public: __property bool get_ColorVertex();
public: __property void set_ColorVertex(bool);JScript .NET public function get ColorVertex() : boolean
public function set ColorVertex(boolean);
System.Boolean . Set to true to enable per-vertex color, or false to disable it.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.