Partager via


VertexPositionTexture Constructor

Initializes a new instance of the VertexPositionTexture class.

Syntax

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

Parameters

  • position
    Type: Vector3
    Position 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

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

Platforms

Windows Phone