RenderStateManager.ColorVertex Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets a value to enable or disable per-vertex color.

Definition

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);

Property Value

System.Boolean . Set to true to enable per-vertex color, or false to disable it.

This property is read/write. 

Remarks

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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.