示例#1
0
 protected M2File(string path)
 {
     FileName       = path ?? "";
     ModelRoot      = Path.GetDirectoryName(path) ?? "";
     TextureInfos   = new TextureInfo[0];
     Vertices       = new M2Vertex[0];
     Passes         = new List <M2RenderPass>();
     Indices        = new ushort[0];
     DisplayOptions = new CreatureDisplayInfo();
 }
示例#2
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes   = new List <M2RenderPass>();
     Indices  = new ushort[0];
 }
示例#3
0
 protected M2File()
 {
     Vertices = new M2Vertex[0];
     Passes = new List<M2RenderPass>();
     Indices = new ushort[0];
 }