MeshBuilder.CreatePosition Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

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

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public int CreatePosition(
	Vector3 pos
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

pos
Type: Microsoft.Xna.Framework.Vector3
Value of the vertex being inserted.

Return Value

Type: System.Int32
Index of the vertex being inserted.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop