MeshBuilder.CreatePosition Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Inserts the specified vertex position into the vertex channel.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public int CreatePosition( float x, float y, float z )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- x
-
Type: System.Single
Value of the x component of the vector.
- y
-
Type: System.Single
Value of the y component of the vector.
- z
-
Type: System.Single
Value of the z component of the vector.
Return Value
Type: System.Int32Index of the inserted vertex.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop