Class GeometryContentCollection
- 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
childGeometryContentThe 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
childGeometryContentThe child of the parent being set.
parentMeshContentThe parent of the child object.