MeshBuilder.SetVertexChannelData Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Sets the specified vertex data with new data.
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 void SetVertexChannelData( int vertexDataIndex, object channelData )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- vertexDataIndex
-
Type: System.Int32
Index of the vertex data channel being set. This should match the index returned by CreateVertexChannel.
- channelData
-
Type: System.Object
New data values for the vertex data. The data type being set must match the data type for the vertex channel specified by vertexDataIndex.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop