共用方式為


VertexContent.AddRange Method

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.

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

Syntax

public void AddRange (
         IEnumerable<int> positionIndexCollection
)

Parameters

  • positionIndexCollection
    Index into the Positions member of the parent.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista