VertexPositionColorTexture Constructor

Initializes a new instance of the VertexPositionColorTexture class.

Syntax

'Declaration
Public Sub New ( _
         position As Vector3, _
         color As Color, _
         textureCoordinate As Vector2 _
)
public VertexPositionColorTexture (
         Vector3 position,
         Color color,
         Vector2 textureCoordinate
)
public:
VertexPositionColorTexture(
         Vector3 position,
         Color color,
         Vector2 textureCoordinate
)

Parameters

  • position
    Type: Vector3
    Position of the vertex.
  • color
    Type: Color
    Color of the vertex.
  • textureCoordinate
    Type: Vector2
    Texture coordinate of the vertex.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone