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)

Syntax

public VertexPositionColor (
         Vector3 position,
         Color color
)

Parameters

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

See Also

Reference

VertexPositionColor Structure
VertexPositionColor Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP