共用方式為


VertexContent.AddRange Method

Note

This method is available only when developing for Windows.

Appends multiple vertex indices to the end of the PositionIndices collection.

Other vertex channels will automatically be extended and the new indices populated with default values.

Syntax

'Declaration
Public Sub AddRange ( _
         positionIndexCollection As IEnumerable(Of Integer) _
)
public void AddRange (
         IEnumerable<int> positionIndexCollection
)
public:
void AddRange(
         IEnumerable<int> positionIndexCollection
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP