VertexContent.Add Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Appends a new vertex index to the end of the PositionIndices collection.
Other vertex channels will automatically be extended and the new indices populated with default values.
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 Add( int positionIndex )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- positionIndex
-
Type: System.Int32
Index into the MeshContent.Positions member of the parent.
Return Value
Type: System.Int32Index of the new entry. This can be added to the Indices member of the parent.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop