Partager via


MeshBuilder.CreatePosition Method (Vector3)

Inserts the specified vertex position into the vertex channel at the specified index.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public int CreatePosition (
         Vector3 pos
)

Parameters

  • pos
    Value of the vertex being inserted.

Return Value

Index of the vertex being inserted.

See Also

Reference

MeshBuilder Class
MeshBuilder Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista