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
child
GeometryContentThe 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
GeometryContentThe child of the parent being set.
parent
MeshContentThe parent of the child object.