Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VertexPositionColor Constructor

Initializes a new instance of the VertexPositionColor class.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public VertexPositionColor (
         Vector3 position,
         Color color
)

Parameters

position
Type: Vector3
The position of the vertex.
color
Type: Color
The color of the vertex.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2015 Microsoft