Table of Contents

Class GeometryContentCollection

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

Provides methods for maintaining a collection of geometry batches that make up a mesh.

public sealed class GeometryContentCollection : ChildCollection<MeshContent, GeometryContent>, IList<GeometryContent>, ICollection<GeometryContent>, IReadOnlyList<GeometryContent>, IReadOnlyCollection<GeometryContent>, IEnumerable<GeometryContent>, IList, ICollection, IEnumerable
Inheritance
GeometryContentCollection
Implements
Inherited Members

Methods

GetParent(GeometryContent)

Gets the parent of a child object.

protected override MeshContent GetParent(GeometryContent child)

Parameters

child GeometryContent

The child of the parent being retrieved.

Returns

MeshContent

The parent of the child object.

SetParent(GeometryContent, MeshContent)

Sets the parent of the specified child object.

protected override void SetParent(GeometryContent child, MeshContent parent)

Parameters

child GeometryContent

The child of the parent being set.

parent MeshContent

The parent of the child object.