Table of Contents

Class GeometryContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides properties that define various aspects of a geometry batch.

public class GeometryContent : ContentItem
Inheritance
GeometryContent
Inherited Members

Constructors

GeometryContent()

Creates an instance of GeometryContent.

public GeometryContent()

Properties

Indices

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.

public IndexCollection Indices { get; }

Property Value

IndexCollection

Material

Gets or sets the material of the parent mesh.

public MaterialContent Material { get; set; }

Property Value

MaterialContent

Parent

Gets or sets the parent MeshContent for this object.

public MeshContent Parent { get; set; }

Property Value

MeshContent

Vertices

Gets the set of vertex batches for the geometry batch.

public VertexContent Vertices { get; }

Property Value

VertexContent