Exemplo n.º 1
0
 public override unsafe void Export(string outPath)
 {
     if (outPath.EndsWith(".dae"))
     {
         //Model model = GetModel();
         Collada.Serialize(this, outPath);
     }
     else
     {
         base.Export(outPath);
     }
 }
 public override unsafe void Export(string outPath)
 {
     if (outPath.EndsWith(".dae", StringComparison.OrdinalIgnoreCase))
     {
         Collada.Serialize(new CHR0Node[] { this }, 60.0f, false, outPath);
     }
     else if (outPath.EndsWith(".anim", StringComparison.OrdinalIgnoreCase))
     {
         AnimFormat.Serialize(this, false, outPath);
     }
     else
     {
         base.Export(outPath);
     }
 }