2012-08-17 14:25:59 +00:00
|
|
|
|
using System;
|
2012-08-16 14:18:21 +00:00
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
{
|
2012-08-17 14:25:59 +00:00
|
|
|
|
public sealed class GeometryContentCollection
|
|
|
|
|
: ChildCollection<MeshContent, GeometryContent>
|
|
|
|
|
{
|
2012-08-25 21:47:03 +00:00
|
|
|
|
public GeometryContentCollection(MeshContent parent)
|
2012-08-17 14:25:59 +00:00
|
|
|
|
: base(parent)
|
|
|
|
|
{
|
|
|
|
|
}
|
2012-08-16 14:18:21 +00:00
|
|
|
|
|
2012-08-17 14:25:59 +00:00
|
|
|
|
protected override MeshContent GetParent(GeometryContent child)
|
|
|
|
|
{
|
|
|
|
|
return child.Parent;
|
|
|
|
|
}
|
2012-08-16 14:18:21 +00:00
|
|
|
|
|
2012-08-17 14:25:59 +00:00
|
|
|
|
protected override void SetParent(GeometryContent child, MeshContent parent)
|
|
|
|
|
{
|
|
|
|
|
child.Parent = parent;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-08-16 14:18:21 +00:00
|
|
|
|
}
|