Condividi tramite


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)
Not applicable.

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.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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