- ChildCollection - AnimationChannel - BoneContent - GeometryContent and Collection - MeshContent - NodeContent and Collection
28 lines
688 B
C#
28 lines
688 B
C#
using System;
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.Framework.Content.Pipeline.Graphics
|
|
{
|
|
public sealed class GeometryContentCollection
|
|
: ChildCollection<MeshContent, GeometryContent>
|
|
{
|
|
public GeometryContentCollection(MeshContent parent)
|
|
: base(parent)
|
|
{
|
|
}
|
|
|
|
protected override MeshContent GetParent(GeometryContent child)
|
|
{
|
|
return child.Parent;
|
|
}
|
|
|
|
protected override void SetParent(GeometryContent child, MeshContent parent)
|
|
{
|
|
child.Parent = parent;
|
|
}
|
|
}
|
|
}
|