Aracılığıyla paylaş


VertexContent Members

The following tables list the members exposed by the VertexContent type.

Public Properties

Name Description
Public Property Channels Gets the list of named vertex data channels in the VertexContent.
Public Property PositionIndices Gets the list of position indices.
Public Property Positions Gets position data from the parent mesh object.
Public Property VertexCount Number of vertices for the content.

Public Methods

Name Description
Public Method Add Appends a new vertex index to the end of the PositionIndices collection.
Public Method AddRange Appends multiple vertex indices to the end of the PositionIndices collection.
Public Method CreateVertexBuffer Converts design-time vertex position and channel data into a vertex buffer format that a graphics device can recognize.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Insert Inserts a new vertex index to the PositionIndices collection.
Public Method InsertRange Inserts multiple vertex indices to the PositionIndices collection.
Public Method RemoveAt Removes a vertex index from the specified location in both PositionIndices and VertexChannel<T>.
Public Method RemoveRange Removes a range of vertex indices from the specified location in both PositionIndices and VertexChannel<T>.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

VertexContent Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace