Example #1
0
 protected override void ProcessNodePre(AseReader reader, AseNode parentNode)
 {
     if (parentNode is AseMaterialList)
     {
         AseMaterialList list  = parentNode as AseMaterialList;
         int             index = int.Parse(reader.NodeData);
         list[index] = this;
     }
 }
Example #2
0
 public AseRoot() : base()
 {
     _geomObjects = new ArrayList();
     AddNodeParser("MATERIAL_LIST", _materialList = new AseMaterialList());
     AddNodeParser("GEOMOBJECT", typeof(AseGeometryObject));
 }