Share via


RenderStateManager.ColorVertex Property

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

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property ColorVertex As Boolean
'Usage
Dim instance As RenderStateManager
Dim value As Boolean

value = instance.ColorVertex

instance.ColorVertex = value
public bool ColorVertex { get; set; }
public:
property bool ColorVertex {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ColorVertex ()

/** @property */
public void set_ColorVertex (boolean value)
public function get ColorVertex () : boolean

public function set ColorVertex (value : boolean)

Property Value

Set to true to enable per-vertex color, or false to disable it. The default value is true.

Remarks

Enabling per-vertex color allows the system to include the color defined for individual vertices in its lighting calculations.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

RenderStateManager Class
RenderStateManager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace