Partager via


GeometryContent.Indices Property

Gets the list of triangle indices for this geometry batch. Geometry is stored as an indexed triangle list, where each group of three indices defines a single triangle.

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

Syntax

public IndexCollection Indices { get; }

Property Value

Collection of associated indices.

Remarks

Use these indices to reference into the collection of position indices and vertex channels of the geometry batch.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista