2012-08-17 14:16:58 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
// 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.Processors
|
|
|
|
|
{
|
2015-04-08 14:50:03 +02:00
|
|
|
|
public class ModelContent
|
2012-08-17 14:16:58 +00:00
|
|
|
|
{
|
|
|
|
|
public ModelBoneContentCollection Bones
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ModelMeshContentCollection Meshes
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ModelBoneContent Root
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Object Tag
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
2015-04-08 14:50:03 +02:00
|
|
|
|
|
|
|
|
|
public ModelContent(ModelBoneContent rootBone, IList<ModelBoneContent> bones, IList<ModelMeshContent> meshes)
|
|
|
|
|
{
|
|
|
|
|
Root = rootBone;
|
|
|
|
|
Meshes = new ModelMeshContentCollection(meshes);
|
|
|
|
|
Bones = new ModelBoneContentCollection(bones);
|
|
|
|
|
}
|
2012-08-17 14:16:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|