VertexPositionColor Constructor
Initializes a new instance of the VertexPositionColor class.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public VertexPositionColor (
Vector3 position,
Color color
)
Parameters
- position
The position of the vertex. - color
The color of the vertex.
See Also
Reference
VertexPositionColor Structure
VertexPositionColor Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista