Dela via


AlphaTestMaterialContent.VertexColorEnabled Property

Note

This property is available only when developing for Windows.

Gets or sets whether vertex color is enabled.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public Nullable<bool> VertexColorEnabled { get; set; }

Property Value

True to enable per-vertex color; false otherwise.

See Also

Reference

AlphaTestMaterialContent Class
AlphaTestMaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP