MeshBuilder.CreatePosition Method (Single, Single, Single)
Inserts the specified vertex position into the vertex channel.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public int CreatePosition (
float x,
float y,
float z
)
Parameters
- x
Value of the x component of the vector. - y
Value of the y component of the vector. - z
Value of the z component of the vector.
Return Value
Index of the inserted vertex.
See Also
Reference
MeshBuilder Class
MeshBuilder Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista