VertexContent.Positions Property (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Gets position data from the parent mesh object.
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 IndirectPositionCollection Positions { get; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.IndirectPositionCollectionCollection of vertex positions for the mesh.
The collection returned from this call provides a virtualized view of the vertex positions for this batch. The collection uses the contents of the PositionIndices property to index into the parent Positions. This collection is read-only. If you need to modify any contained values, edit the PositionIndices or Positions members directly.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop