示例#1
0
 public static void ToString(this SkeletonFile skeletonFile, TextWriter writer)
 {
     writer.WriteLine("Skeletons.Count(): {0}", skeletonFile.Skeletons.Count());
     for (int i = 0; i < skeletonFile.Skeletons.Count(); i++)
     {
         var skeleton = skeletonFile.Skeletons.ElementAt(i);
         writer.WriteLine("{0}:", i);
         ToString(skeleton, writer);
     }
 }
 public ColladaSkeletonExporter(IRepository repository, SkeletonFile skeletonFile)
 {
     Repository = repository;
     SkeletonFile = skeletonFile;
     TNS = TemplateNameSpace;
 }