Beispiel #1
0
 private Root LoadDAE(string inPath)
 {
     var root = new LSLib.Granny.Model.Root();
     root.Options = Options;
     root.ImportFromCollada(inPath);
     return root;
 }
Beispiel #2
0
        private Root LoadDAE(string inPath)
        {
            var root = new LSLib.Granny.Model.Root();

            root.Options = Options;
            root.ImportFromCollada(inPath);
            return(root);
        }
Beispiel #3
0
 private Root LoadGR2(string inPath)
 {
     var root = new LSLib.Granny.Model.Root();
     FileStream fs = new FileStream(inPath, FileMode.Open, System.IO.FileAccess.Read, FileShare.ReadWrite);
     var gr2 = new LSLib.Granny.GR2.GR2Reader(fs);
     gr2.Read(root);
     root.PostLoad();
     fs.Close();
     fs.Dispose();
     return root;
 }
Beispiel #4
0
        private Root LoadGR2(string inPath)
        {
            var        root = new LSLib.Granny.Model.Root();
            FileStream fs   = new FileStream(inPath, FileMode.Open, System.IO.FileAccess.Read, FileShare.ReadWrite);
            var        gr2  = new LSLib.Granny.GR2.GR2Reader(fs);

            gr2.Read(root);
            root.PostLoad();
            fs.Close();
            fs.Dispose();
            return(root);
        }